diff options
author | megamage <none@none> | 2009-06-09 21:59:50 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-09 21:59:50 -0500 |
commit | 2ce7109f6704e91d4e890efc1f5f7d017ce6ca2c (patch) | |
tree | 8837db4201fa8a8abbd02f1d04f9ef1221437fad | |
parent | 853432b201c6ae5b14c9cae445bb254a4795b4e5 (diff) |
*Do not remove item mod for broken item. This fixes an exploit that druid can remove broken item and shapeshift when have resurrect sickness to gain huge ap.
--HG--
branch : trunk
-rw-r--r-- | src/game/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 7099b7e3945..2ffd1a8fb58 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6489,7 +6489,7 @@ void Player::_ApplyItemMods(Item *item, uint8 slot,bool apply) return; // not apply mods for broken item - if(item->IsBroken() && apply) + if(item->IsBroken()) return; ItemPrototype const *proto = item->GetProto(); |