aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKaev <Demonhunter@hotmail.de>2015-07-04 09:53:49 +0200
committerKaev <Demonhunter@hotmail.de>2015-07-04 09:53:49 +0200
commitf3246f65d179b0bc31b964d66b85e1a8333b431b (patch)
treeff5f3b7ec1214272b94bb9f56f67bf51dc1d2522 /src
parentbe32beee57f8eaf6445d429ec1147377115a1092 (diff)
Update BattlegroundWS.cpp
Changed timer check from 900000 to 15*MINUTE*IN_MILLISECONDS for better readability.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp
index 378ce22ba3e..cc3daec1649 100644
--- a/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp
@@ -157,7 +157,7 @@ void BattlegroundWS::PostUpdateImpl(uint32 diff)
player->CastSpell(player, WS_SPELL_FOCUSED_ASSAULT, true);
_flagDebuffState = 1;
}
- else if (_flagDebuffState == 1 && _flagSpellForceTimer >= 900000) //15 minutes
+ else if (_flagDebuffState == 1 && _flagSpellForceTimer >= 15*MINUTE*IN_MILLISECONDS) //15 minutes
{
if (Player* player = ObjectAccessor::FindPlayer(m_FlagKeepers[0]))
{