mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Now TrinityCore2 support 3.2.2a client, need extract new maps and dbc files. thx TOM_RUS, Win32, Machiavelli, VladimirMangos and all trinitycore team
--HG-- branch : trunk
This commit is contained in:
@@ -42,7 +42,7 @@ Corpse::Corpse(CorpseType type) : WorldObject()
|
||||
|
||||
lootForBody = false;
|
||||
|
||||
if(type != CORPSE_BONES)
|
||||
if (type != CORPSE_BONES)
|
||||
m_isWorldObject = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -74,8 +74,8 @@ bool VendorItemData::RemoveItem( uint32 item_id )
|
||||
|
||||
size_t VendorItemData::FindItemSlot(uint32 item_id) const
|
||||
{
|
||||
for (size_t i = 0; i < m_items.size(); ++i )
|
||||
if(m_items[i]->item==item_id)
|
||||
for (size_t i = 0; i < m_items.size(); ++i)
|
||||
if (m_items[i]->item==item_id)
|
||||
return i;
|
||||
return m_items.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user