[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*)
{
sLog.outString( "Re-Loading Spell Bonus Data..." );
sSpellMgr.LoadSpellBonusess();
sSpellMgr.LoadSpellBonuses();
SendGlobalSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded.");
return true;
}

View file

@ -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;

View file

@ -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();

View file

@ -970,7 +970,7 @@ 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

View file

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