From a782aa1540b63d5fffd55d835f6f30ee0c53d0f1 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 18 Dec 2015 05:48:23 +0100 Subject: Replaced numeric values with UNITTYPE_ constants in getmapxy Follow-up to dbe5f2237cada6a261e297b60857dc305860a88d Signed-off-by: Haru --- npc/re/instances/OldGlastHeim.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/re/instances/OldGlastHeim.txt') diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 936053d36..b59d6ca36 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -988,7 +988,7 @@ OnTouch: else if (.@i == 3) .@mobs = 5; else if (.@i < 7) .@mobs = 6; else .@mobs = 7; - getmapxy(.@map$,.@x,.@y,1); + getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC); specialeffect EF_VENOMDUST; monster .@map$,.@x,.@y,"Muck Worm",2467,.@mobs,instance_npcname(strnpcinfo(0))+"::OnMyMobDead"; disablenpc instance_npcname(strnpcinfo(0)); @@ -1961,7 +1961,7 @@ OnTimer80000: mes "Now, I may erase your memory again. Perhaps you will have a different fate next time."; specialeffect2 EF_FREEZE; close2; - getmapxy(.@map$,.@x,.@y,0); + getmapxy(.@map$, .@x, .@y, UNITTYPE_PC); warp .@map$,.@x,.@y; end; } else { -- cgit v1.2.3-60-g2f50