mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 13:37:01 +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();
|
BattleGround::Reset();
|
||||||
// set the reputation and honor variables:
|
// 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_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;
|
m_RepTowerDestruction = (isBGWeekend) ? BG_AV_REP_TOWER_HOLIDAY : BG_AV_REP_TOWER;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10577"
|
#define REVISION_NR "10578"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue