From aa9588538bd1bb8890a33f2ee8f1a7cf957254a7 Mon Sep 17 00:00:00 2001 From: Reid Date: Tue, 3 Feb 2015 00:12:35 +0100 Subject: Correct wrong string/integer comparaison. --- npc/000-2-1/peter.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/000-2-1/peter.txt') diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt index 17021ad8..d09c8d3f 100644 --- a/npc/000-2-1/peter.txt +++ b/npc/000-2-1/peter.txt @@ -43,7 +43,7 @@ OnTouch: if (BaseLevel < 5) goto L_Stop; - if ($@RAT_SAILOR_COUNTDOWN == "") goto L_NoCountDown; + if ($@RAT_SAILOR_COUNTDOWN == 0) goto L_NoCountDown; if ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 10) goto L_NoGoodTick; if (($@RAT_SAILOR_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 60)) goto L_NoGoodTick; $@RAT_SAILOR_COUNTDOWN = ""; @@ -89,7 +89,7 @@ L_NoGoodTick: 000-2-1,70,35,0 script Peter 403,{ if (BaseLevel < 5) goto OnTooWeak; - if ($@RAT_SAILOR_COUNTDOWN == "") goto L_NoCountDown; + if ($@RAT_SAILOR_COUNTDOWN == 0) goto L_NoCountDown; if ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 10) goto OnNoGoodTick; if (($@RAT_SAILOR_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@RAT_SAILOR_COUNTDOWN) < 60)) goto OnNoGoodTick; $@RAT_SAILOR_COUNTDOWN = ""; -- cgit v1.2.3-70-g09d2