summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-24 23:26:14 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-24 23:26:14 +0000
commit08d3a24b80ebb31e46d623118b335a86cf37f425 (patch)
tree2b8e049aedd4a720aafc395a30983206f3e6292e /src/map/clif.c
parent9bf4c93d86a081c0c1254613d5115e8210e035ec (diff)
downloadhercules-08d3a24b80ebb31e46d623118b335a86cf37f425.tar.gz
hercules-08d3a24b80ebb31e46d623118b335a86cf37f425.tar.bz2
hercules-08d3a24b80ebb31e46d623118b335a86cf37f425.tar.xz
hercules-08d3a24b80ebb31e46d623118b335a86cf37f425.zip
- Mercenary Dismiss packet and some corrections.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13127 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 69534c9ed..674770e4a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12469,6 +12469,8 @@ void clif_parse_mercenary_action(int fd, struct map_session_data* sd)
int option = RFIFOB(fd,2);
if( sd->md == NULL )
return;
+
+ if( option == 2 ) merc_delete(sd->md, 2);
}
/*------------------------------------------