summaryrefslogtreecommitdiff
path: root/npc/000-0-0/chest.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-15 16:33:26 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-15 16:33:26 -0300
commit166872718465c283f331db7dad9bcfdee7c0fc64 (patch)
treec54e5cd0b10037124c65e1b1aac73831354b049f /npc/000-0-0/chest.txt
parent539f4cf48008033982fd580a573234da27305c3b (diff)
downloadserverdata-166872718465c283f331db7dad9bcfdee7c0fc64.tar.gz
serverdata-166872718465c283f331db7dad9bcfdee7c0fc64.tar.bz2
serverdata-166872718465c283f331db7dad9bcfdee7c0fc64.tar.xz
serverdata-166872718465c283f331db7dad9bcfdee7c0fc64.zip
Fix deprecated code on 000-0-0 chest
Diffstat (limited to 'npc/000-0-0/chest.txt')
-rw-r--r--npc/000-0-0/chest.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-0-0/chest.txt b/npc/000-0-0/chest.txt
index 2674400ac..fdd287303 100644
--- a/npc/000-0-0/chest.txt
+++ b/npc/000-0-0/chest.txt
@@ -32,7 +32,7 @@
npctalk3 l("You take the clothes from the chest.");
}
- specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid(0)); // closed ? opening : closing
+ specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
.dir = .dir == 0 ? 2 : 6; // closed ? opening : closing
.busy = true; // lock the animation
initnpctimer;
@@ -58,7 +58,7 @@ OnUnTouch:
OnTimer30000:
.busy = true;
.dir = 6; // closing
- specialeffect(25, AREA, getnpcid(0)); // closing
+ specialeffect(25, AREA, getnpcid()); // closing
setnpctimer 0;
OnTouch:
end;