Core: Fix non-PCH build and remove a few warnings.

This commit is contained in:
click
2012-01-24 00:24:39 +01:00
parent 40c6e7bcdb
commit e6d5b21778
11 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ bool TradeData::HasItem(uint64 itemGuid) const
return false;
}
TradeSlots const TradeData::GetTradeSlotForItem(uint64 itemGuid)
TradeSlots TradeData::GetTradeSlotForItem(uint64 itemGuid) const
{
for (uint8 i = 0; i < TRADE_SLOT_COUNT; ++i)
if (m_items[i] == itemGuid)
+1 -1
View File
@@ -1003,7 +1003,7 @@ class TradeData
Item* GetItem(TradeSlots slot) const;
bool HasItem(uint64 itemGuid) const;
TradeSlots const GetTradeSlotForItem(uint64 itemGuid);
TradeSlots GetTradeSlotForItem(uint64 itemGuid) const;
void SetItem(TradeSlots slot, Item* item);
uint32 GetSpell() const { return m_spell; }