mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core: whitespace cleanup, reduce double blank line to single (#25795)
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4)
This commit is contained in:
@@ -215,7 +215,6 @@ void BattlefieldTB::OnPlayerJoinWar(Player* player)
|
||||
player->CastSpell(player, SPELL_TOWER_ATTACK_BONUS, CastSpellExtraArgs(TRIGGERED_FULL_MASK).AddSpellMod(SPELLVALUE_AURA_STACK, GetData(BATTLEFIELD_TB_DATA_TOWERS_DESTROYED)));
|
||||
}
|
||||
|
||||
|
||||
void BattlefieldTB::OnPlayerLeaveWar(Player* player)
|
||||
{
|
||||
RemoveAurasFromPlayer(player);
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user