mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9893] Fixed some spelling typos in function/structure names.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
19b5d777cd
commit
34a1cc31d0
5 changed files with 10 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9892"
|
||||
#define REVISION_NR "9893"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue