From 2c8c6b83af16beaa0bc4ec49f23faacfbe4a4a3d Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 7 Sep 2011 12:59:44 -0700 Subject: Fix new argument warnings. Requires the server patch to allow argumentless script functions --- world/map/npc/042-1/hasan.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'world/map/npc/042-1') 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 -- cgit v1.2.3-60-g2f50