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 44c341cab..80f0c84f3 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7166,7 +7166,7 @@ ACMD_FUNC(makehomun)
int homunid;
nullpo_retr(-1, sd);
- if ( merc_is_hom_active(sd->hd) ) {
+ if ( sd->status.hom_id ) {
clif_displaymessage(fd, msg_txt(450));
return -1;
}