diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-12-06 00:08:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-12-06 00:08:51 +0300 |
commit | 28fdcc18ff9c80fea20414482ecc7c74fd0bf9cf (patch) | |
tree | 87386b5cf5b45b1e72fcdb80a0492c863c279473 /npc/000-1/chest.txt | |
parent | 8ea7823761b86aa9fec47a47cc208b7f24ed8f29 (diff) | |
download | serverdata-28fdcc18ff9c80fea20414482ecc7c74fd0bf9cf.tar.gz serverdata-28fdcc18ff9c80fea20414482ecc7c74fd0bf9cf.tar.bz2 serverdata-28fdcc18ff9c80fea20414482ecc7c74fd0bf9cf.tar.xz serverdata-28fdcc18ff9c80fea20414482ecc7c74fd0bf9cf.zip |
Remove extra parameter from function getnpcid
Diffstat (limited to 'npc/000-1/chest.txt')
-rw-r--r-- | npc/000-1/chest.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt index 46f626a3..511023e0 100644 --- a/npc/000-1/chest.txt +++ b/npc/000-1/chest.txt @@ -25,7 +25,7 @@ getitem OldBook, 1; } - 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 until available again initnpctimer; @@ -53,7 +53,7 @@ OnUnTouch: OnTimer30000: .busy = true; .dir = 6; // closing - specialeffect(25, AREA, getnpcid(0)); // closing + specialeffect(25, AREA, getnpcid()); // closing setnpctimer 0; OnTouch: end; |