summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-04-15 01:11:50 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-04-15 01:11:50 +0800
commit7ba570eabc84865566f4335269f00b3640fa09db (patch)
tree10b6519f5ce4a0d4696da594e8e6eedb9eb6e859 /src/map/clif.c
parent0446b3c78d8360327a25548004b02549842c523d (diff)
downloadhercules-7ba570eabc84865566f4335269f00b3640fa09db.tar.gz
hercules-7ba570eabc84865566f4335269f00b3640fa09db.tar.bz2
hercules-7ba570eabc84865566f4335269f00b3640fa09db.tar.xz
hercules-7ba570eabc84865566f4335269f00b3640fa09db.zip
Fixed Bug #7152 and #7161
-SI_RIDING is not remove when changing job via @jobchange. -RG_STRIPWEAPON should now only remove right hand weapon even if dual wielding. -Fixed 'display_status_timers' conf where it doesn't work properly in newer clients. -Reverted '14a406ee0e5c6ba25539cc98f27ff9c2b8047e2e' where it's already fixed @ 'b9c79ceb5bfc86809da1d3b6154da4222cb72734'. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 6dcf33a32..b1998de77 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5409,12 +5409,12 @@ void clif_status_change(struct block_list *bl,int type,int flag,int tick,int val
WBUFL(buf,4)=bl->id;
WBUFB(buf,8)=flag;
#if PACKETVER >= 20120618
- WBUFL(buf,9)=tick;/* at this stage remain and total are the same value I believe */
- WBUFL(buf,13)=tick;
if(flag && battle_config.display_status_timers && sd) {
if (tick <= 0)
tick = 9999; // this is indeed what official servers do
-
+
+ WBUFL(buf,9) = tick;/* at this stage remain and total are the same value I believe */
+ WBUFL(buf,13) = tick;
WBUFL(buf,17) = val1;
WBUFL(buf,21) = val2;
WBUFL(buf,25) = val3;