[9501] Implement item limit category inventory mode.
commit462c7ff63cbd896dae7507020f1487ac7981b21d
authorVladimirMangos <vladimir@getmangos.com>
Tue, 2 Mar 2010 11:04:47 +0000 (2 14:04 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Tue, 2 Mar 2010 11:10:38 +0000 (2 14:10 +0300)
tree7e90d4e67846aa93f6b14921d76fcbfda4c8bbfc
parentf87f0c9c25dcd8fd73809f935f88327441c0d11a
[9501] Implement item limit category inventory mode.

* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
16 files changed:
src/game/Bag.cpp
src/game/Bag.h
src/game/DBCEnums.h
src/game/DBCStructure.h
src/game/DBCfmt.h
src/game/Group.cpp
src/game/ItemHandler.cpp
src/game/Level3.cpp
src/game/LootHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/Spell.cpp
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
src/game/debugcmds.cpp
src/shared/revision_nr.h