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/functions/debug.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'world/map/npc/functions') diff --git a/world/map/npc/functions/debug.txt b/world/map/npc/functions/debug.txt index 016bb98c..fe72eb72 100644 --- a/world/map/npc/functions/debug.txt +++ b/world/map/npc/functions/debug.txt @@ -21,10 +21,10 @@ L_Level: input @lvl; if (@lvl > 255) goto L_Leveltoohigh; if (@lvl < 1) goto L_Leveltoolow; - if (Baselevel - @lvl == 0) goto L_Samelvl; - set BaseLevel, BaseLevel - (Baselevel - @lvl); + if (Baselevel == @lvl) goto L_Samelvl; + set BaseLevel, @lvl; resetstatus; - message "New level: " + Baselevel; + message strcharinfo(0), "New level: " + Baselevel; goto L_Begin; L_Samelvl: -- cgit v1.2.3-60-g2f50