summaryrefslogtreecommitdiff
path: root/npc/events
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/events
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/events')
-rw-r--r--npc/events/halloween_2009.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/events/halloween_2009.txt b/npc/events/halloween_2009.txt
index a35c98859..6337b8606 100644
--- a/npc/events/halloween_2009.txt
+++ b/npc/events/halloween_2009.txt
@@ -261,7 +261,7 @@ prontera,220,72,5 duplicate(09Treats) Trick or Treater#iRO8 4_M_KID1,2,2
mes "[Halloween Wizard]";
mes "Which town do you want to play a trick on?";
next;
- getmapxy(.@mapname$,.@mapx,.@mapy,0,""+strcharinfo(0)+"");
+ getmapxy(.@mapname$, .@mapx, .@mapy, UNITTYPE_PC, strcharinfo(0));
if (.@mapname$ == "prontera") {
switch(select("Geffen:Payon:Alberta:Aldebaran")) {
case 1: