From 0c3fe037b7df653d91b03bc19526dbc8b7e641cb Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sun, 31 Aug 2008 21:05:35 +0000 Subject: - Implemented script commands for mercenary items (mercenary_heal and mercenary_sc_start). - Fixed a bug crashing server with mercenary. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13159 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 5e4954eeb..d25fbeee5 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3602,8 +3602,8 @@ int pc_setpos(struct map_session_data* sd, unsigned short mapindex, int x, int y if( sd->md ) { sd->md->bl.m = m; - sd->md->bl.x = sd->hd->ud.to_x = x; - sd->md->bl.y = sd->hd->ud.to_y = y; + sd->md->bl.x = sd->md->ud.to_x = x; + sd->md->bl.y = sd->md->ud.to_y = y; sd->md->ud.dir = sd->ud.dir; } -- cgit v1.2.3-60-g2f50