summaryrefslogtreecommitdiff
path: root/npc/battleground
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-12-18 05:48:23 +0100
committerHaru <haru@dotalux.com>2015-12-18 05:53:48 +0100
commita782aa1540b63d5fffd55d835f6f30ee0c53d0f1 (patch)
tree4d20c27f191e91adabb029342683687bce5ca4d5 /npc/battleground
parentdbe5f2237cada6a261e297b60857dc305860a88d (diff)
downloadhercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.gz
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.bz2
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.tar.xz
hercules-a782aa1540b63d5fffd55d835f6f30ee0c53d0f1.zip
Replaced numeric values with UNITTYPE_ constants in getmapxy
Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/battleground')
-rw-r--r--npc/battleground/bg_common.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/battleground/bg_common.txt b/npc/battleground/bg_common.txt
index 74bc26430..78ec8e6d0 100644
--- a/npc/battleground/bg_common.txt
+++ b/npc/battleground/bg_common.txt
@@ -258,7 +258,7 @@ bat_room,148,150,5 script Teleporter#Battlefield 4_F_TELEPORTER,{
mes "[Maroll Battle Recruiter]";
mes "May the war god bless you.";
close2;
- getmapxy(.@mapname$,.@x,.@y,1);
+ getmapxy(.@mapname$, .@x, .@y, UNITTYPE_NPC);
if (.@mapname$ == "prontera")
bat_return = 1;
else if (.@mapname$ == "moc_ruins")