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/jobs/3-1/ranger.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/re/jobs/3-1/ranger.txt') diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt index 35a2683ed..dd26786d2 100644 --- a/npc/re/jobs/3-1/ranger.txt +++ b/npc/re/jobs/3-1/ranger.txt @@ -1589,7 +1589,7 @@ OnInit: OnEnable: enablenpc strnpcinfo(0); initnpctimer; - getmapxy(.@map$,.@x,.@y,1); + getmapxy(.@map$, .@x, .@y, UNITTYPE_NPC); monster "job3_rang02",.@x,.@y,"Egg Bomb",1047,1,strnpcinfo(0)+"::OnMyMobDead"; switch(atoi(strnpcinfo(2))%3) { case 0: .@str$ = "Hey, I am going to explode. What are you going to do?"; break; -- cgit v1.2.3-60-g2f50