diff options
| author | megamage <none@none> | 2009-05-13 19:34:10 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-13 19:34:10 -0500 |
| commit | 22f34d1b74abef2a0b78b9b0b372d27501b67751 (patch) | |
| tree | c9969e5f9220c80264b988e5b97d88221fdc6330 /src | |
| parent | eaf0f7d44a5ecdf14c89fafdeca16607da745ca9 (diff) | |
| parent | 2797d699363396c215cf5ecd603f7fae56cbc39d (diff) | |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b3aad430b32..4efb3703c1f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6441,8 +6441,8 @@ void Player::_ApplyItemMods(Item *item, uint8 slot,bool apply) if(slot >= INVENTORY_SLOT_BAG_END || !item) return; - // not apply/remove mods for broken item - if(item->IsBroken()) + // not apply mods for broken item + if(item->IsBroken() && apply) return; ItemPrototype const *proto = item->GetProto(); |
