Core: Clean up whitespace and tabs in the base sourcetree
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user