aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-18 08:01:29 +0100
committern0n4m3 <none@none>2009-12-18 08:01:29 +0100
commit7971bda0ea043386c76f00e19145eda974c87641 (patch)
tree004bb3f63813e55d15ddfeb8854195eea2337aa4 /src
parent7ad293b4e70b043fb8eef22b4ecac3df05a08156 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/game/Corpse.cpp2
-rw-r--r--src/game/Creature.cpp4
2 files changed, 3 insertions, 3 deletions
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();
}