From 7971bda0ea043386c76f00e19145eda974c87641 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Fri, 18 Dec 2009 08:01:29 +0100 Subject: 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 --- src/game/Corpse.cpp | 2 +- src/game/Creature.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/game/Corpse.cpp b/src/game/Corpse.cpp index 7c669a568ba..1edb478872f 100644 --- a/src/game/Corpse.cpp +++ b/src/game/Corpse.cpp @@ -42,7 +42,7 @@ Corpse::Corpse(CorpseType type) : WorldObject() lootForBody = false; - if(type != CORPSE_BONES) + if (type != CORPSE_BONES) m_isWorldObject = true; } diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 72a4449d5a5..9dcfce82601 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -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(); } -- cgit v1.2.3