diff options
-rw-r--r-- | src/game/Corpse.cpp | 2 | ||||
-rw-r--r-- | src/game/Creature.cpp | 4 |
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(); } |