Cleanup Operator padding

This commit is contained in:
Schmoozerd 2012-07-20 17:38:23 +02:00
parent 9141299127
commit e32b9953a1
264 changed files with 6715 additions and 6715 deletions

View file

@ -47,7 +47,7 @@ struct SkillExtraItemEntry
};
// map to store the extra item creation info, the key is the spellId of the creation spell, the mapped value is the assigned SkillExtraItemEntry
typedef std::map<uint32,SkillExtraItemEntry> SkillExtraItemMap;
typedef std::map<uint32, SkillExtraItemEntry> SkillExtraItemMap;
SkillExtraItemMap SkillExtraItemStore;
@ -81,7 +81,7 @@ void LoadSkillExtraItemTable()
uint32 requiredSpecialization = fields[1].GetUInt32();
if (!sSpellStore.LookupEntry(requiredSpecialization))
{
sLog.outError("Skill specialization %u have nonexistent required specialization spell id %u in `skill_extra_item_template`!", spellId,requiredSpecialization);
sLog.outError("Skill specialization %u have nonexistent required specialization spell id %u in `skill_extra_item_template`!", spellId, requiredSpecialization);
continue;
}
@ -125,7 +125,7 @@ bool canCreateExtraItems(Player* player, uint32 spellId, float& additionalChance
{
// get the info for the specified spell
SkillExtraItemMap::const_iterator ret = SkillExtraItemStore.find(spellId);
if (ret==SkillExtraItemStore.end())
if (ret == SkillExtraItemStore.end())
return false;
SkillExtraItemEntry const* specEntry = &ret->second;