diff options
| author | Kargatum <dowlandtop@yandex.com> | 2021-01-03 17:47:07 +0700 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-03-05 20:07:57 +0100 |
| commit | 373ed8f46bef3fda0ffc2c4e2b6d39527d595c8e (patch) | |
| tree | 9580280f271db59e2abdb26094ab99ec43354a18 /src/server/scripts/Battlefield/BattlefieldWG.cpp | |
| parent | 05a9b2d2cb40df7daedbce2712609f6bab9ad0e1 (diff) | |
Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4c81128a56b282f20837fb085bdd9e7)
Diffstat (limited to 'src/server/scripts/Battlefield/BattlefieldWG.cpp')
| -rw-r--r-- | src/server/scripts/Battlefield/BattlefieldWG.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/scripts/Battlefield/BattlefieldWG.cpp b/src/server/scripts/Battlefield/BattlefieldWG.cpp index 7c6f33182db..ad88855f43a 100644 --- a/src/server/scripts/Battlefield/BattlefieldWG.cpp +++ b/src/server/scripts/Battlefield/BattlefieldWG.cpp @@ -481,7 +481,6 @@ bool BattlefieldWG::SetupBattlefield() m_GraveyardList[i] = graveyard; } - Workshops.resize(WG_MAX_WORKSHOP); // Spawn workshop creatures and gameobjects for (uint8 i = 0; i < WG_MAX_WORKSHOP; i++) @@ -577,7 +576,6 @@ void BattlefieldWG::OnBattleStart() else TC_LOG_ERROR("bg.battlefield", "WG: Failed to spawn titan relic."); - // Update tower visibility and update faction for (auto itr = CanonList.begin(); itr != CanonList.end(); ++itr) { @@ -1151,7 +1149,6 @@ uint32 BattlefieldWG::GetData(uint32 data) const return Battlefield::GetData(data); } - void BattlefieldWG::FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates& packet) { packet.Worldstates.emplace_back(WS_BATTLEFIELD_WG_DEFENDED_A, GetData(BATTLEFIELD_WG_DATA_DEF_A)); |
