From 8ec06e1832af8a2f68bd8d79b7ade09d861a2dea Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 30 Aug 2007 04:39:59 +0000 Subject: - Cleaned up a bit the homunculus evolution code, and fixed homevolution allowing the homunc to 're-evolve' even though it was already evolved. - Optimized a bit the skillheal code in regards to Apple of Idun and Sanctuary git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11090 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index b57f2bd75..aa6931d74 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8307,11 +8307,8 @@ int atcommand_homevolution(const int fd, struct map_session_data* sd, const char return -1; } - if (sd->hd->homunculusDB->evo_class) - { - merc_hom_evolution(sd->hd) ; + if ( merc_hom_evolution(sd->hd) ) return 0; - } clif_displaymessage(fd, "Your homunculus doesn't evolve."); return -1; -- cgit v1.2.3-60-g2f50