From a3aa2a680e564d25a49b66e57397ec817aa4debc Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Wed, 28 Mar 2018 15:12:10 +0200 Subject: [PATCH] fixed build for real --- src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp index 4c10af25d51..c6fcf0fb6a7 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp @@ -70,6 +70,13 @@ BattlegroundTP::BattlegroundTP() _minutesElapsed = 0; } +void BattlegroundTPScore::BuildObjectivesBlock(WorldPacket& data, ByteBuffer& content) +{ + data.WriteBits(2, 24); // Objectives Count + content << uint32(FlagCaptures); + content << uint32(FlagReturns); +} + BattlegroundTP::~BattlegroundTP() { } void BattlegroundTP::PostUpdateImpl(uint32 diff)