summaryrefslogtreecommitdiff
path: root/src/map/atcommand.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/atcommand.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/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 00bc9dd39..5c9983700 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -9783,7 +9783,7 @@ int atcommand_homlevel(
if (!message || !*message)
return -1;
- if ( sd->status.hom_id == 0 || !sd->homunculus.hp || sd->homunculus.vaporize )
+ if ( !merc_is_hom_active(sd->hd) )
return 1 ;
level = atoi(message);