From 16abeeb177d89233c17423701be7912469e9c02d Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 27 Oct 2007 15:45:24 +0000 Subject: Fixed a typo in r11505 messing up the 'npcmove' command (only 'x' coordinate was being set correctly) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11588 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/npc.c') diff --git a/src/map/npc.c b/src/map/npc.c index 457711255..25b928b10 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1985,7 +1985,7 @@ void npc_movenpc(struct npc_data* nd, int x, int y) if (m < 0 || nd->bl.prev == NULL) return; //Not on a map. x = cap_value(x, 0, map[m].xs-1); - x = cap_value(y, 0, map[m].ys-1); + y = cap_value(y, 0, map[m].ys-1); npc_unsetcells(nd); map_foreachinrange(clif_outsight, &nd->bl, AREA_SIZE, BL_PC, &nd->bl); -- cgit v1.2.3-70-g09d2