summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
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);