[7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state. Author: VladimirMangos

Also related cleanup code in field cases and player Player::SetSheath.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-28 18:43:57 -05:00
parent 451471d438
commit 1288761fb7
11 changed files with 59 additions and 9 deletions
+1 -1
View File
@@ -938,7 +938,7 @@ class TRINITY_DLL_SPEC Player : public Unit
/*********************************************************/
void SetVirtualItemSlot( uint8 i, Item* item);
void SetSheath( uint32 sheathed );
void SetSheath( SheathState sheathed ); // overwrite Unit version
uint8 FindEquipSlot( ItemPrototype const* proto, uint32 slot, bool swap ) const;
uint32 GetItemCount( uint32 item, bool inBankAlso = false, Item* skipItem = NULL ) const;
Item* GetItemByGuid( uint64 guid ) const;