summaryrefslogtreecommitdiff
path: root/src/map/pc.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/pc.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/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 191c05bcd..7d3b5c4a2 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7453,7 +7453,7 @@ int pc_jobchange(struct map_session_data *sd,int job, int upper)
//Change look, if disguised, you need to undisguise
//to correctly calculate new job sprite without
- if (sd->disguise)
+ if (sd->disguise != -1)
pc_disguise(sd, -1);
status_set_viewdata(&sd->bl, job);
@@ -7675,7 +7675,7 @@ int pc_setoption(struct map_session_data *sd,int type)
else if (!(type&OPTION_FLYING) && p_type&OPTION_FLYING)
new_look = -1;
- if (sd->disguise || !new_look)
+ if (sd->disguise != -1 || !new_look)
return 0; //Disguises break sprite changes
if (new_look < 0) { //Restore normal look.