summaryrefslogtreecommitdiff
path: root/world/map/npc/042-1
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-09-07 12:59:44 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-09-07 13:03:32 -0700
commit2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d (patch)
treed6fe0bfbdf15d2466183f55e884ec29462b70134 /world/map/npc/042-1
parentd7d75d5d4a8226943d0a1a6625bb946e61e23c83 (diff)
downloadserverdata-2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d.tar.gz
serverdata-2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d.tar.bz2
serverdata-2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d.tar.xz
serverdata-2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d.zip
Fix new argument warnings.
Requires the server patch to allow argumentless script functions
Diffstat (limited to 'world/map/npc/042-1')
-rw-r--r--world/map/npc/042-1/hasan.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/world/map/npc/042-1/hasan.txt b/world/map/npc/042-1/hasan.txt
index 3e7184e4..8cdc690d 100644
--- a/world/map/npc/042-1/hasan.txt
+++ b/world/map/npc/042-1/hasan.txt
@@ -4,11 +4,12 @@
042-1.gat,111,68,0|script|Hasan|189,{
set @toll, 10000;
- set @x, getx(0);
- set @y, gety(0);
+ set @x, getx();
+ set @y, gety();
if (FLAGS & FLAG_TUTORIAL_DONE)
goto L_Tut_Done;
+ // Please consider rewriting this in terms of isin()
if ( (@y < 64)&&(@x < 110) || (@x < 107) )
goto L_Cliff_Up;
// implicitly, $@ScorpionFighter is nonzero