*Fix build on *nix.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-04 16:55:16 +01:00
parent 1c51b382dc
commit 3554ce14cd
+1 -1
View File
@@ -1061,7 +1061,7 @@ class TRINITY_DLL_SPEC Player : public Unit
Item* GetItemByGuid( uint64 guid ) const; Item* GetItemByGuid( uint64 guid ) const;
Item* GetItemByPos( uint16 pos ) const; Item* GetItemByPos( uint16 pos ) const;
Item* GetItemByPos( uint8 bag, uint8 slot ) const; Item* GetItemByPos( uint8 bag, uint8 slot ) const;
inline Item* Player::GetUseableItemByPos( uint8 bag, uint8 slot ) const //Does additional check for disarmed weapons inline Item* GetUseableItemByPos( uint8 bag, uint8 slot ) const //Does additional check for disarmed weapons
{ {
if (!CanUseAttackType(GetAttackBySlot(slot))) if (!CanUseAttackType(GetAttackBySlot(slot)))
return NULL; return NULL;