[10578] Use static call for IsBGWeekend in BattleGroundAV

This commit is contained in:
VladimirMangos 2010-10-05 00:20:20 +04:00
parent 1e9b405b7a
commit 685ba899d3
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10577"
#define REVISION_NR "10578"
#endif // __REVISION_NR_H__