summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 21:04:17 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-19 21:04:17 +0000
commit4e8b55b30bdfd9c3a71ef3c21b40fd22f11320e6 (patch)
tree234fe50fe3a00c626057b8bba8c7e43b59f70520 /src/map/pc.c
parenta49f930a9b8e423d2a87c3472950863dcc523b88 (diff)
downloadhercules-4e8b55b30bdfd9c3a71ef3c21b40fd22f11320e6.tar.gz
hercules-4e8b55b30bdfd9c3a71ef3c21b40fd22f11320e6.tar.bz2
hercules-4e8b55b30bdfd9c3a71ef3c21b40fd22f11320e6.tar.xz
hercules-4e8b55b30bdfd9c3a71ef3c21b40fd22f11320e6.zip
- Fixed @homlvup bug
- Fixed AM_REST & AM_RESU consumming SP if they fail - Fixed homunc spawning bug git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8375 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 6dc4ad33a..a241f8c9e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -3368,7 +3368,7 @@ int pc_setpos(struct map_session_data *sd,unsigned short mapindex,int x,int y,in
sd->pd->ud.dir = sd->ud.dir;
}
- if(sd->status.hom_id > 0 && sd->hd ) { //orn
+ if(sd->status.hom_id > 0 && merc_is_hom_active(sd->hd)) { //orn
sd->hd->bl.m = m;
sd->hd->bl.x = sd->hd->ud.to_x = x;
sd->hd->bl.y = sd->hd->ud.to_y = y;