mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-01 01:53:47 +00:00
feat(Core): Config to disable all Wintergrasp processing (#13086)
* feat(Core): Config to disable all Wintergrasp processing * Use 2 instead of -1 - configs are parsed as uint * Fix build warnings
This commit is contained in:
@@ -8698,7 +8698,7 @@ void Player::SendBGWeekendWorldStates()
|
||||
void Player::SendBattlefieldWorldStates()
|
||||
{
|
||||
/// Send misc stuff that needs to be sent on every login, like the battle timers.
|
||||
if (sWorld->getBoolConfig(CONFIG_WINTERGRASP_ENABLE))
|
||||
if (sWorld->getIntConfig(CONFIG_WINTERGRASP_ENABLE) == 1)
|
||||
{
|
||||
if (BattlefieldWG* wg = (BattlefieldWG*)sBattlefieldMgr->GetBattlefieldByBattleId(BATTLEFIELD_BATTLEID_WG))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user