Core: Fix non-PCH build and remove a few warnings.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user