[9640] Fix a typo in ReputationMgr

Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
KAPATEJIb 2010-03-30 09:18:46 +02:00 committed by Lightguard
parent 07c92ba83e
commit e499150b59
5 changed files with 6 additions and 6 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9639"
#define REVISION_NR "9640"
#endif // __REVISION_NR_H__