summaryrefslogtreecommitdiff
path: root/src/map/status.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/status.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/status.c')
-rw-r--r--src/map/status.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 29da8cfad..f7531494e 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6589,11 +6589,6 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
opt_flag = 0; //Reuse to check success condition.
if(sd->bonus.unstripable_equip&EQP_WEAPON)
return 0;
- i = sd->equip_index[EQI_HAND_L];
- if (i>=0 && sd->inventory_data[i] && sd->inventory_data[i]->type == IT_WEAPON) {
- opt_flag|=1;
- pc_unequipitem(sd,i,3); //L-hand weapon
- }
i = sd->equip_index[EQI_HAND_R];
if (i>=0 && sd->inventory_data[i] && sd->inventory_data[i]->type == IT_WEAPON) {