summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-10 17:30:54 -0300
committershennetsind <ind@henn.et>2013-05-10 17:30:54 -0300
commitfa24fdb97db2aca73d94bb584835e9e864c8d085 (patch)
treebc5b29c19e979fb1b65df34811f95283f731ea75 /src/map/clif.c
parentac3caf50ec83838486e18294a2d1b68794439119 (diff)
downloadhercules-fa24fdb97db2aca73d94bb584835e9e864c8d085.tar.gz
hercules-fa24fdb97db2aca73d94bb584835e9e864c8d085.tar.bz2
hercules-fa24fdb97db2aca73d94bb584835e9e864c8d085.tar.xz
hercules-fa24fdb97db2aca73d94bb584835e9e864c8d085.zip
Fixed Bug #7236 @mount
http://hercules.ws/board/tracker/issue-7236-mount/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f801c7c99..4edb1541d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5847,7 +5847,7 @@ void clif_pvpset(struct map_session_data *sd,int pvprank,int pvpnum,int type)
else
WBUFL(buf,6) = pvprank;
WBUFL(buf,10) = pvpnum;
- if(sd->sc.option&OPTION_INVISIBLE || sd->disguise) //Causes crashes when a 'mob' with pvp info dies.
+ if(sd->sc.option&OPTION_INVISIBLE || sd->disguise != -1) //Causes crashes when a 'mob' with pvp info dies.
clif->send(buf,packet_len(0x19a),&sd->bl,SELF);
else if(!type)
clif->send(buf,packet_len(0x19a),&sd->bl,AREA);
@@ -8555,7 +8555,7 @@ void clif_charnameack (int fd, struct block_list *bl)
struct guild *g = NULL;
//Requesting your own "shadow" name. [Skotlex]
- if (ssd->fd == fd && ssd->disguise)
+ if (ssd->fd == fd && ssd->disguise != -1)
WBUFL(buf,2) = -bl->id;
if( ssd->fakename[0] ) {