From 4e8b55b30bdfd9c3a71ef3c21b40fd22f11320e6 Mon Sep 17 00:00:00 2001 From: toms Date: Sat, 19 Aug 2006 21:04:17 +0000 Subject: - 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 --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') 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); -- cgit v1.2.3-70-g09d2