mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 10:37:02 +00:00
[10578] Use static call for IsBGWeekend in BattleGroundAV
This commit is contained in:
parent
1e9b405b7a
commit
685ba899d3
2 changed files with 2 additions and 2 deletions
|
|
@ -782,7 +782,7 @@ void BattleGroundAV::Reset()
|
|||
{
|
||||
BattleGround::Reset();
|
||||
// set the reputation and honor variables:
|
||||
bool isBGWeekend = sBattleGroundMgr.IsBGWeekend(GetTypeID());
|
||||
bool isBGWeekend = BattleGroundMgr::IsBGWeekend(GetTypeID());
|
||||
|
||||
m_HonorMapComplete = (isBGWeekend) ? BG_AV_KILL_MAP_COMPLETE_HOLIDAY : BG_AV_KILL_MAP_COMPLETE;
|
||||
m_RepTowerDestruction = (isBGWeekend) ? BG_AV_REP_TOWER_HOLIDAY : BG_AV_REP_TOWER;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue