aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-10 19:43:50 +0200
committerMachiavelli <none@none>2009-06-10 19:43:50 +0200
commiteb9719ed4f95c81b3e1ccd4cae63b7c09baddcaf (patch)
treecd091599f6c127d5931fb097ed64743249ba3e30 /src/game/Player.cpp
parent7445ddad0520fd9a55234a0c22dca56e4e7c00d0 (diff)
parent926747b57ec6e8439d5397c57b37d2b2c3ba7b70 (diff)
Merge
--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)