aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-10 10:13:45 -0500
committermegamage <none@none>2009-06-10 10:13:45 -0500
commitb8f95e054617bb5ae6bf80401865f04b43c3b57f (patch)
tree08652a33db284ba6bcfd034d2bfcd135e58d5a54 /src/game/Player.cpp
parent40e353a9ca49fcad6ffa70224c7c2137e71ed205 (diff)
*Fix the bug that players lose stats when change weapons when have disarm auras.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 2ffd1a8fb58..5f97ab82e68 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -6502,7 +6502,7 @@ void Player::_ApplyItemMods(Item *item, uint8 slot,bool apply)
uint8 attacktype = Player::GetAttackBySlot(slot);
//check disarm only on mod apply to allow remove item mods
- if (apply && !CanUseAttackType(attacktype) )
+ if (!CanUseAttackType(attacktype) )
return;
if(attacktype < MAX_ATTACK)