summaryrefslogtreecommitdiff
path: root/npc/functions/sailordialogue.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/functions/sailordialogue.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/functions/sailordialogue.txt')
-rw-r--r--npc/functions/sailordialogue.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/sailordialogue.txt b/npc/functions/sailordialogue.txt
index dca52323..7d51d995 100644
--- a/npc/functions/sailordialogue.txt
+++ b/npc/functions/sailordialogue.txt
@@ -8,10 +8,10 @@
function script SailorFood {
mesn;
- set @q, rand(0, 400) / 100;
- if (@q == 0) goto L_RandomA;
- if (@q == 1) goto L_RandomB;
- if (@q > 1) goto L_RandomC;
+ set .@q, rand(0, 400) / 100;
+ if (.@q == 0) goto L_RandomA;
+ if (.@q == 1) goto L_RandomB;
+ if (.@q > 1) goto L_RandomC;
L_RandomA:
mesq l("Hey.");