mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9973] Fixed selection BG map difficulty.
Thanks to insider42 for help in research problem.
This commit is contained in:
parent
fcbaafb2f5
commit
dc82105963
2 changed files with 4 additions and 2 deletions
|
|
@ -1535,6 +1535,9 @@ BattleGround * BattleGroundMgr::CreateNewBattleGround(BattleGroundTypeId bgTypeI
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set before Map creating for let use proper difficulty
|
||||||
|
bg->SetBracket(bracketEntry);
|
||||||
|
|
||||||
// will also set m_bgMap, instanceid
|
// will also set m_bgMap, instanceid
|
||||||
sMapMgr.CreateBgMap(bg->GetMapId(), bg);
|
sMapMgr.CreateBgMap(bg->GetMapId(), bg);
|
||||||
|
|
||||||
|
|
@ -1545,7 +1548,6 @@ BattleGround * BattleGroundMgr::CreateNewBattleGround(BattleGroundTypeId bgTypeI
|
||||||
|
|
||||||
// start the joining of the bg
|
// start the joining of the bg
|
||||||
bg->SetStatus(STATUS_WAIT_JOIN);
|
bg->SetStatus(STATUS_WAIT_JOIN);
|
||||||
bg->SetBracket(bracketEntry);
|
|
||||||
bg->SetArenaType(arenaType);
|
bg->SetArenaType(arenaType);
|
||||||
bg->SetRated(isRated);
|
bg->SetRated(isRated);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9972"
|
#define REVISION_NR "9973"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue