Jump to content

[9640][typo fix] Initilize -> Initialize


Guest KAPATEJIb

Recommended Posts

What bug does the patch fix? What features does the patch add?

Typo fix

For which repository revision was the patch created?

9637

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

---

Who has been writing this patch? Please include either forum user names or email addresses.

Me

diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp
index 5cdcdd6..d0d7c2f 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 f3c9705..37d4312 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 0a9bcec..d32afa3 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -6544,7 +6544,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 a09f1e6..5708d4b 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1250,7 +1250,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();

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use