[9893] Fixed some spelling typos in function/structure names.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
nos4r2zod 2010-05-15 04:09:35 +04:00 committed by VladimirMangos
parent 19b5d777cd
commit 34a1cc31d0
5 changed files with 10 additions and 10 deletions

View file

@ -579,7 +579,7 @@ bool ChatHandler::HandleReloadSpellProcEventCommand(const char*)
bool ChatHandler::HandleReloadSpellBonusesCommand(const char*) bool ChatHandler::HandleReloadSpellBonusesCommand(const char*)
{ {
sLog.outString( "Re-Loading Spell Bonus Data..." ); sLog.outString( "Re-Loading Spell Bonus Data..." );
sSpellMgr.LoadSpellBonusess(); sSpellMgr.LoadSpellBonuses();
SendGlobalSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded."); SendGlobalSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded.");
return true; return true;
} }

View file

@ -1044,14 +1044,14 @@ void SpellMgr::LoadSpellProcItemEnchant()
sLog.outString( ">> Loaded %u proc item enchant definitions", count ); 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; } void operator() (uint32 spell_id) { sSpellMgr.mSpellBonusMap[spell_id] = spellBonus; }
SpellBonusEntry const& spellBonus; SpellBonusEntry const& spellBonus;
}; };
void SpellMgr::LoadSpellBonusess() void SpellMgr::LoadSpellBonuses()
{ {
mSpellBonusMap.clear(); // need for reload case mSpellBonusMap.clear(); // need for reload case
uint32 count = 0; uint32 count = 0;
@ -1098,7 +1098,7 @@ void SpellMgr::LoadSpellBonusess()
mSpellBonusMap[entry] = sbe; mSpellBonusMap[entry] = sbe;
// also add to high ranks // also add to high ranks
DoSpellBonusess worker(sbe); DoSpellBonuses worker(sbe);
doForHighRanks(entry,worker); doForHighRanks(entry,worker);
++count; ++count;

View file

@ -739,7 +739,7 @@ inline bool IsProfessionOrRidingSkill(uint32 skill)
class SpellMgr class SpellMgr
{ {
friend struct DoSpellBonusess; friend struct DoSpellBonuses;
friend struct DoSpellProcEvent; friend struct DoSpellProcEvent;
friend struct DoSpellProcItemEnchant; friend struct DoSpellProcItemEnchant;
@ -1022,7 +1022,7 @@ class SpellMgr
void LoadSpellElixirs(); void LoadSpellElixirs();
void LoadSpellProcEvents(); void LoadSpellProcEvents();
void LoadSpellProcItemEnchant(); void LoadSpellProcItemEnchant();
void LoadSpellBonusess(); void LoadSpellBonuses();
void LoadSpellTargetPositions(); void LoadSpellTargetPositions();
void LoadSpellThreats(); void LoadSpellThreats();
void LoadSkillLineAbilityMap(); void LoadSkillLineAbilityMap();

View file

@ -970,7 +970,7 @@ void World::SetInitialWorldSettings()
sSpellMgr.LoadSpellProcEvents(); sSpellMgr.LoadSpellProcEvents();
sLog.outString( "Loading Spell Bonus Data..." ); sLog.outString( "Loading Spell Bonus Data..." );
sSpellMgr.LoadSpellBonusess(); sSpellMgr.LoadSpellBonuses(); // must be after LoadSpellChains
sLog.outString( "Loading Spell Proc Item Enchant..." ); sLog.outString( "Loading Spell Proc Item Enchant..." );
sSpellMgr.LoadSpellProcItemEnchant(); // must be after LoadSpellChains sSpellMgr.LoadSpellProcItemEnchant(); // must be after LoadSpellChains

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9892" #define REVISION_NR "9893"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__