diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-28 21:41:38 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-28 21:41:38 +0000 |
commit | dc1175bda087b4b4ce657a114225b5daefbcf5c4 (patch) | |
tree | 906c022c31ea0966b12519d8d105627da335789f /src/map/mercenary.c | |
parent | fcf5b330c38bc7a48e774163c5624428f25aead6 (diff) | |
download | hercules-dc1175bda087b4b4ce657a114225b5daefbcf5c4.tar.gz hercules-dc1175bda087b4b4ce657a114225b5daefbcf5c4.tar.bz2 hercules-dc1175bda087b4b4ce657a114225b5daefbcf5c4.tar.xz hercules-dc1175bda087b4b4ce657a114225b5daefbcf5c4.zip |
* Added clr_type enumeration for vanish effect constants.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14517 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mercenary.c')
-rw-r--r-- | src/map/mercenary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c index 84974e906..53f70a462 100644 --- a/src/map/mercenary.c +++ b/src/map/mercenary.c @@ -244,7 +244,7 @@ int merc_delete(struct mercenary_data *md, int reply) merc_contract_stop(md); if( !sd ) - return unit_free(&md->bl, 0); + return unit_free(&md->bl, CLR_OUTSIGHT); if( md->devotion_flag ) { @@ -259,7 +259,7 @@ int merc_delete(struct mercenary_data *md, int reply) } clif_mercenary_message(sd->fd, reply); - return unit_remove_map(&md->bl, 0); + return unit_remove_map(&md->bl, CLR_OUTSIGHT); } void merc_contract_stop(struct mercenary_data *md) |