From 9f05a741e4f978555a3daf4be540e1a2a6a77ce5 Mon Sep 17 00:00:00 2001 From: brianluau Date: Mon, 12 Dec 2011 13:02:55 +0000 Subject: - Fixed a divide-by-zero error in airships.txt (bugreport:651) - Fixed a typo in Crusader jobchange quiz. (bugreport:443) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15074 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/airports/airships.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/airports/airships.txt') diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt index 44b7ac115..856a4fc3f 100644 --- a/npc/airports/airships.txt +++ b/npc/airports/airships.txt @@ -870,7 +870,7 @@ s_Play: next; if(.@comparisonvar$[1] != .@typingstring1$ || .@comparisonvar$[2] != .@typingstring2$) goto s_Fail; set .@time, (gettimetick(0) - .@start) / 100; //seconds taken - set .@mypoints, (.@typingkeys * 100) / .@time; + if (.@time) set .@mypoints, (.@typingkeys * 100) / .@time; mes "[Nils]"; mes "Your typing time"; mes "was ^FF0000" + .@time + " seconds^000000"; -- cgit v1.2.3-60-g2f50