summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-06 21:05:23 -0300
committershennetsind <ind@henn.et>2013-04-06 21:05:23 -0300
commitb80492674d9bc057d0888a9408735b345226a87e (patch)
treec85ec410ba20340f7e4888c915a4bf592b1e22c0 /src
parent27dccdda376b242d142bc549b74deea26773bde9 (diff)
downloadhercules-b80492674d9bc057d0888a9408735b345226a87e.tar.gz
hercules-b80492674d9bc057d0888a9408735b345226a87e.tar.bz2
hercules-b80492674d9bc057d0888a9408735b345226a87e.tar.xz
hercules-b80492674d9bc057d0888a9408735b345226a87e.zip
Fixed @disguise display breaking with @refresh
Special Thanks to Euphy for pointing it out. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ed7c811a3..f091587ea 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8308,6 +8308,13 @@ void clif_refresh(struct map_session_data *sd)
buyingstore_close(sd);
mail_clear(sd);
+
+ if( disguised(&sd->bl) ) {/* refresh-da */
+ short disguise = sd->disguise;
+ pc_disguise(sd, 0);
+ pc_disguise(sd, disguise);
+ }
+
}