Skip to content

Commit

Permalink
[SQL] Implemented rated battlegrounds.
Browse files Browse the repository at this point in the history
[SQL] Implemented rated battlegrounds.
  • Loading branch information
zTerragor authored Nov 16, 2023
1 parent 43352bc commit b0d3109
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/game/Battlefield/Zones/BattlefieldWG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ bool BattlefieldWG::SetupBattlefield()

InitStalker(BATTLEFIELD_WG_NPC_STALKER, WintergraspStalkerPos[0], WintergraspStalkerPos[1], WintergraspStalkerPos[2], WintergraspStalkerPos[3]);

m_Guid = (MAKE_NEW_GUID(m_TypeId, 0, HIGHGUID_BATTLEGROUND) | 0x20000) + 1; // BATTLEFIELD_TYPE_WORLD_PVP 5.0.5
m_Guid = MAKE_NEW_GUID(m_TypeId, 0, HIGHGUID_BATTLEGROUND);
m_Guid |= 0x20000; // BATTLEFIELD_TYPE_WORLD_PVP 5.0.5

m_MaxPlayer = sWorld->getIntConfig(CONFIG_WINTERGRASP_PLR_MAX);
m_IsEnabled = sWorld->getBoolConfig(CONFIG_WINTERGRASP_ENABLE);
Expand Down

0 comments on commit b0d3109

Please sign in to comment.