From 7b6da851f876885e3c1a5cd7ad0d364d77404bf0 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Thu, 28 Apr 2011 16:40:47 +0000 Subject: * Fixed @makehomun not checking for existing homunculus properly and thus allowing to create a homunculus when one is already present but inactive (bugreport:4879, since r10272). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14806 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2