diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index efb73972e..1df230f2d 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -579,7 +579,7 @@ bool ChatHandler::HandleReloadSpellProcEventCommand(const char*) bool ChatHandler::HandleReloadSpellBonusesCommand(const char*) { sLog.outString( "Re-Loading Spell Bonus Data..." ); - sSpellMgr.LoadSpellBonusess(); + sSpellMgr.LoadSpellBonuses(); SendGlobalSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded."); return true; } diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index fe14e20c4..fe5a05198 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1044,14 +1044,14 @@ void SpellMgr::LoadSpellProcItemEnchant() sLog.outString( ">> Loaded %u proc item enchant definitions", count ); } -struct DoSpellBonusess +struct DoSpellBonuses { - DoSpellBonusess(SpellBonusEntry const& _spellBonus) : spellBonus(_spellBonus) {} + DoSpellBonuses(SpellBonusEntry const& _spellBonus) : spellBonus(_spellBonus) {} void operator() (uint32 spell_id) { sSpellMgr.mSpellBonusMap[spell_id] = spellBonus; } SpellBonusEntry const& spellBonus; }; -void SpellMgr::LoadSpellBonusess() +void SpellMgr::LoadSpellBonuses() { mSpellBonusMap.clear(); // need for reload case uint32 count = 0; @@ -1098,7 +1098,7 @@ void SpellMgr::LoadSpellBonusess() mSpellBonusMap[entry] = sbe; // also add to high ranks - DoSpellBonusess worker(sbe); + DoSpellBonuses worker(sbe); doForHighRanks(entry,worker); ++count; diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index e5b0bfec5..e9b8c5286 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -739,7 +739,7 @@ inline bool IsProfessionOrRidingSkill(uint32 skill) class SpellMgr { - friend struct DoSpellBonusess; + friend struct DoSpellBonuses; friend struct DoSpellProcEvent; friend struct DoSpellProcItemEnchant; @@ -1022,7 +1022,7 @@ class SpellMgr void LoadSpellElixirs(); void LoadSpellProcEvents(); void LoadSpellProcItemEnchant(); - void LoadSpellBonusess(); + void LoadSpellBonuses(); void LoadSpellTargetPositions(); void LoadSpellThreats(); void LoadSkillLineAbilityMap(); diff --git a/src/game/World.cpp b/src/game/World.cpp index cffa722e5..f8a076492 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -970,10 +970,10 @@ void World::SetInitialWorldSettings() sSpellMgr.LoadSpellProcEvents(); sLog.outString( "Loading Spell Bonus Data..." ); - sSpellMgr.LoadSpellBonusess(); + sSpellMgr.LoadSpellBonuses(); // must be after LoadSpellChains sLog.outString( "Loading Spell Proc Item Enchant..." ); - sSpellMgr.LoadSpellProcItemEnchant(); // must be after LoadSpellChains + sSpellMgr.LoadSpellProcItemEnchant(); // must be after LoadSpellChains sLog.outString( "Loading Aggro Spells Definitions..."); sSpellMgr.LoadSpellThreats(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 97d656d33..871efb5a6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9892" + #define REVISION_NR "9893" #endif // __REVISION_NR_H__