Core: Continued cleanup
If and for whitespaces.
This commit is contained in:
@@ -78,7 +78,7 @@ bool VendorItemData::RemoveItem(uint32 item_id)
|
||||
VendorItem const* VendorItemData::FindItemCostPair(uint32 item_id, uint32 extendedCost) const
|
||||
{
|
||||
for (VendorItemList::const_iterator i = m_items.begin(); i != m_items.end(); ++i)
|
||||
if((*i)->item == item_id && (*i)->ExtendedCost == extendedCost)
|
||||
if ((*i)->item == item_id && (*i)->ExtendedCost == extendedCost)
|
||||
return *i;
|
||||
return NULL;
|
||||
}
|
||||
@@ -241,7 +241,7 @@ void Creature::RemoveCorpse(bool setSpawnTime)
|
||||
AI()->CorpseRemoved(respawnDelay);
|
||||
|
||||
// Should get removed later, just keep "compatibility" with scripts
|
||||
if(setSpawnTime)
|
||||
if (setSpawnTime)
|
||||
m_respawnTime = time(NULL) + respawnDelay;
|
||||
|
||||
float x, y, z, o;
|
||||
@@ -2252,7 +2252,7 @@ void Creature::AllLootRemovedFromCorpse()
|
||||
if (!HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE))
|
||||
{
|
||||
time_t now = time(NULL);
|
||||
if(m_corpseRemoveTime <= now)
|
||||
if (m_corpseRemoveTime <= now)
|
||||
return;
|
||||
|
||||
float decayRate;
|
||||
|
||||
Reference in New Issue
Block a user