Core: Clean up whitespace and tabs in the base sourcetree

This commit is contained in:
click
2012-02-18 16:52:08 +01:00
parent da5027ef3a
commit 5411e1ce52
63 changed files with 143 additions and 143 deletions
@@ -102,7 +102,7 @@ void BattlegroundRV::StartingEventOpenDoors()
setState(BG_RV_STATE_OPEN_FENCES);
setTimer(BG_RV_FIRST_TIMER);
TogglePillarCollision(true);
}
@@ -239,11 +239,11 @@ void BattlegroundRV::TogglePillarCollision(bool apply)
if (gob->GetGOInfo()->door.startOpen)
_state = GO_STATE_ACTIVE;
gob->SetGoState(apply ? (GOState)_state : (GOState)(!_state));
if (gob->GetGOInfo()->door.startOpen)
gob->EnableCollision(!apply); // Forced collision toggle
}
for (BattlegroundPlayerMap::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr)
if (Player* player = ObjectAccessor::FindPlayer(MAKE_NEW_GUID(itr->first, 0, HIGHGUID_PLAYER)))
gob->SendUpdateToPlayer(player);