Core: Continued cleanup
If and for whitespaces.
This commit is contained in:
@@ -1355,7 +1355,7 @@ void World::SetInitialWorldSettings()
|
||||
sLog->outString("Loading Creature Reputation OnKill Data...");
|
||||
sObjectMgr->LoadReputationOnKill();
|
||||
|
||||
sLog->outString( "Loading Reputation Spillover Data..." );
|
||||
sLog->outString("Loading Reputation Spillover Data..." );
|
||||
sObjectMgr->LoadReputationSpilloverTemplate();
|
||||
|
||||
sLog->outString("Loading Points Of Interest Data...");
|
||||
@@ -2513,7 +2513,7 @@ void World::UpdateSessions(uint32 diff)
|
||||
WorldSession * pSession = itr->second;
|
||||
WorldSessionFilter updater(pSession);
|
||||
|
||||
if(!pSession->Update(diff, updater)) // As interval = 0
|
||||
if (!pSession->Update(diff, updater)) // As interval = 0
|
||||
{
|
||||
if (!RemoveQueuedPlayer(itr->second) && itr->second && getIntConfig(CONFIG_INTERVAL_DISCONNECT_TOLERANCE))
|
||||
m_disconnects[itr->second->GetAccountId()] = time(NULL);
|
||||
@@ -2722,7 +2722,7 @@ void World::ResetRandomBG()
|
||||
{
|
||||
sLog->outDetail("Random BG status reset for all characters.");
|
||||
CharacterDatabase.Execute("DELETE FROM character_battleground_random");
|
||||
for(SessionMap::const_iterator itr = m_sessions.begin(); itr != m_sessions.end(); ++itr)
|
||||
for (SessionMap::const_iterator itr = m_sessions.begin(); itr != m_sessions.end(); ++itr)
|
||||
if (itr->second->GetPlayer())
|
||||
itr->second->GetPlayer()->SetRandomWinner(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user