mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 07:37:05 +00:00
Cleanup Operator padding
This commit is contained in:
parent
9141299127
commit
e32b9953a1
264 changed files with 6715 additions and 6715 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue