From aa9588538bd1bb8890a33f2ee8f1a7cf957254a7 Mon Sep 17 00:00:00 2001
From: Reid <reidyaro@gmail.com>
Date: Tue, 3 Feb 2015 00:12:35 +0100
Subject: Correct wrong string/integer comparaison.

---
 npc/000-2-1/peter.txt  | 4 ++--
 npc/001-2-22/peter.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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 = "";
diff --git a/npc/001-2-22/peter.txt b/npc/001-2-22/peter.txt
index facd13c6..767c2a83 100644
--- a/npc/001-2-22/peter.txt
+++ b/npc/001-2-22/peter.txt
@@ -43,7 +43,7 @@
 
 OnTouch:
     if (BaseLevel < 5) goto L_Stop;
-    if ($@ARTIS_RAT1_COUNTDOWN == "") goto L_NoCountDown;
+    if ($@ARTIS_RAT1_COUNTDOWN == 0) goto L_NoCountDown;
     if ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 10) goto L_NoGoodTick;
     if (($@ARTIS_RAT1_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 60)) goto L_NoGoodTick;
     $@ARTIS_RAT1_COUNTDOWN = "";
@@ -89,7 +89,7 @@ L_NoGoodTick:
 
 001-2-22,70,35,0	script	Peter#001-2-22	403,{
     if (BaseLevel < 5) goto OnTooWeak;
-    if ($@ARTIS_RAT1_COUNTDOWN == "") goto L_NoCountDown;
+    if ($@ARTIS_RAT1_COUNTDOWN == 0) goto L_NoCountDown;
     if ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 10) goto OnNoGoodTick;
     if (($@ARTIS_RAT1_OLD_HELPER$ == strcharinfo(0)) && ((gettimetick(2) - $@ARTIS_RAT1_COUNTDOWN) < 60)) goto OnNoGoodTick;
     $@ARTIS_RAT1_COUNTDOWN = "";
-- 
cgit v1.2.3-70-g09d2