From e499150b598b086c5928d68c281aa54dae4496be Mon Sep 17 00:00:00 2001 From: KAPATEJIb Date: Tue, 30 Mar 2010 09:18:46 +0200 Subject: [PATCH] [9640] Fix a typo in ReputationMgr Signed-off-by: Lightguard --- src/game/ReputationMgr.cpp | 4 ++-- src/game/ReputationMgr.h | 2 +- src/game/SpellEffects.cpp | 2 +- src/game/World.cpp | 2 +- src/shared/revision_nr.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 5cdcdd62d..d0d7c2fe9 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -195,7 +195,7 @@ void ReputationMgr::SendVisible(FactionState const* faction) const m_player->SendDirectMessage(&data); } -void ReputationMgr::Initilize() +void ReputationMgr::Initialize() { m_factions.clear(); m_visibleFactionCount = 0; @@ -386,7 +386,7 @@ void ReputationMgr::SetInactive(FactionState* faction, bool inactive) void ReputationMgr::LoadFromDB(QueryResult *result) { // Set initial reputations (so everything is nifty before DB data load) - Initilize(); + Initialize(); //QueryResult *result = CharacterDatabase.PQuery("SELECT faction,standing,flags FROM character_reputation WHERE guid = '%u'",GetGUIDLow()); diff --git a/src/game/ReputationMgr.h b/src/game/ReputationMgr.h index f3c9705d5..37d43126f 100644 --- a/src/game/ReputationMgr.h +++ b/src/game/ReputationMgr.h @@ -124,7 +124,7 @@ class ReputationMgr void SendStates() const; private: // internal helper functions - void Initilize(); + void Initialize(); uint32 GetDefaultStateFlags(const FactionEntry *factionEntry) const; bool SetReputation(FactionEntry const* factionEntry, int32 standing, bool incremental); bool SetOneFactionReputation(FactionEntry const* factionEntry, int32 standing, bool incremental); diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 85b9610d0..f86d347a2 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6381,7 +6381,7 @@ void Spell::DoSummonTotem(SpellEffectIndex eff_idx, uint8 slot_dbc) m_caster->_AddTotem(TotemSlot(slot),pTotem); pTotem->SetOwner(m_caster->GetGUID()); - pTotem->SetTypeBySummonSpell(m_spellInfo); // must be after Create call where m_spells initilized + pTotem->SetTypeBySummonSpell(m_spellInfo); // must be after Create call where m_spells initialized int32 duration=GetSpellDuration(m_spellInfo); if (Player* modOwner = m_caster->GetSpellModOwner()) diff --git a/src/game/World.cpp b/src/game/World.cpp index e1efb651a..9ae8c4b2f 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1244,7 +1244,7 @@ void World::SetInitialWorldSettings() mail_timer_expires = uint32( (DAY * IN_MILISECONDS) / (m_timers[WUPDATE_AUCTIONS].GetInterval())); sLog.outDebug("Mail timer set to: %u, mail return is called every %u minutes", mail_timer, mail_timer_expires); - ///- Initilize static helper structures + ///- Initialize static helper structures AIRegistry::Initialize(); Player::InitVisibleBits(); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 85968aa89..7caa79a75 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 "9639" + #define REVISION_NR "9640" #endif // __REVISION_NR_H__