summaryrefslogtreecommitdiff
path: root/npc/custom/battleground
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-10 04:28:03 +0100
committerHaru <haru@dotalux.com>2013-11-10 04:31:28 +0100
commitb4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch)
treecbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/custom/battleground
parentc9b63614070f7fce81c88cd60e5edad5a7730df0 (diff)
downloadhercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.gz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.bz2
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.xz
hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.zip
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in variables, labels, constants. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/battleground')
-rw-r--r--npc/custom/battleground/bg_common.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/battleground/bg_common.txt b/npc/custom/battleground/bg_common.txt
index 8886921f2..f24e1e5a8 100644
--- a/npc/custom/battleground/bg_common.txt
+++ b/npc/custom/battleground/bg_common.txt
@@ -1293,8 +1293,8 @@ bat_room,160,150,3 script Erundek 4_M_MANAGER,{
next;
set .@Menu$, "";
- set .@Count, getarraysize(.@Item_DB);
- for( set .@i, 0; .@i < .@Count; set .@i, .@i + 1 )
+ set .@count, getarraysize(.@Item_DB);
+ for( set .@i, 0; .@i < .@count; set .@i, .@i + 1 )
set .@Menu$, .@Menu$ + getitemname(.@Item_DB[.@i]) + ":";
set .@Item_ID, .@Item_DB[select(.@Menu$) - 1];