summaryrefslogtreecommitdiff
path: root/npc/airports
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-12 13:02:55 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-12 13:02:55 +0000
commit9f05a741e4f978555a3daf4be540e1a2a6a77ce5 (patch)
tree610327694ae84e674e3857311d38cba0ba992aca /npc/airports
parent5d4b770112aa26107059a5a03a2ddea04fc7676e (diff)
downloadhercules-9f05a741e4f978555a3daf4be540e1a2a6a77ce5.tar.gz
hercules-9f05a741e4f978555a3daf4be540e1a2a6a77ce5.tar.bz2
hercules-9f05a741e4f978555a3daf4be540e1a2a6a77ce5.tar.xz
hercules-9f05a741e4f978555a3daf4be540e1a2a6a77ce5.zip
- 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
Diffstat (limited to 'npc/airports')
-rw-r--r--npc/airports/airships.txt2
1 files changed, 1 insertions, 1 deletions
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";