From 28fdcc18ff9c80fea20414482ecc7c74fd0bf9cf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Dec 2018 00:08:51 +0300 Subject: Remove extra parameter from function getnpcid --- npc/001-2-22/chest.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/001-2-22/chest.txt') diff --git a/npc/001-2-22/chest.txt b/npc/001-2-22/chest.txt index 010f5a79..69e8a8af 100644 --- a/npc/001-2-22/chest.txt +++ b/npc/001-2-22/chest.txt @@ -10,7 +10,7 @@ if (.busy == false) { - 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; @@ -38,7 +38,7 @@ OnUnTouch: OnTimer30000: .busy = true; .dir = 6; // closing - specialeffect(25, AREA, getnpcid(0)); // closing + specialeffect(25, AREA, getnpcid()); // closing setnpctimer 0; OnTouch: end; -- cgit v1.2.3-60-g2f50