mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11636] Add two missing initial world states
This commit is contained in:
parent
f7e3b33eaf
commit
75c4578be8
2 changed files with 4 additions and 1 deletions
|
|
@ -8571,6 +8571,9 @@ void Player::SendInitWorldStates(uint32 zoneid, uint32 areaid)
|
||||||
FillInitialWorldState(data, count, 0xC77, sWorld.getConfig(CONFIG_UINT32_ARENA_SEASON_ID));
|
FillInitialWorldState(data, count, 0xC77, sWorld.getConfig(CONFIG_UINT32_ARENA_SEASON_ID));
|
||||||
// 3901 8 Previous arena season
|
// 3901 8 Previous arena season
|
||||||
FillInitialWorldState(data, count, 0xF3D, sWorld.getConfig(CONFIG_UINT32_ARENA_SEASON_PREVIOUS_ID));
|
FillInitialWorldState(data, count, 0xF3D, sWorld.getConfig(CONFIG_UINT32_ARENA_SEASON_PREVIOUS_ID));
|
||||||
|
FillInitialWorldState(data, count, 0xED9, 1); // 3801 9 0 - Battle for Wintergrasp in progress, 1 - otherwise
|
||||||
|
// 4354 10 Time when next Battle for Wintergrasp starts
|
||||||
|
FillInitialWorldState(data, count, 0x1102, uint32(time(NULL) + 9000));
|
||||||
|
|
||||||
if(mapid == 530) // Outland
|
if(mapid == 530) // Outland
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11635"
|
#define REVISION_NR "11636"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue