summaryrefslogtreecommitdiff
path: root/npc/000-1/chest.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
commit66a7953e6f6b4d7951c306e1d305ab3b904f557a (patch)
treed96f9df4db7a506277b5659aa6165e0efa7b1700 /npc/000-1/chest.txt
parentefb1c01272dc109188f1a4559db05a73405a7d38 (diff)
downloadserverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.gz
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.bz2
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.xz
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.zip
Replace temp variables into scope temp variables.
Diffstat (limited to 'npc/000-1/chest.txt')
-rw-r--r--npc/000-1/chest.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-1/chest.txt b/npc/000-1/chest.txt
index 9e44bfc8d..7f2109302 100644
--- a/npc/000-1/chest.txt
+++ b/npc/000-1/chest.txt
@@ -14,7 +14,7 @@
// Size = 2
000-1,83,70,0 script #chest 416,{
- set @q, getq(ShipQuests_TreasureChest);
+ set .@q, getq(ShipQuests_TreasureChest);
if (getnpcdir ("") == 4) goto L_Give;
setnpcdir 2;
@@ -23,7 +23,7 @@
close;
L_Give:
- if (@q > 0) goto L_Close;
+ if (.@q > 0) goto L_Close;
callfunc "InventoryPlace", 514, 1;