mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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;
|
||||
}
|
||||
|
||||
// set before Map creating for let use proper difficulty
|
||||
bg->SetBracket(bracketEntry);
|
||||
|
||||
// will also set m_bgMap, instanceid
|
||||
sMapMgr.CreateBgMap(bg->GetMapId(), bg);
|
||||
|
||||
|
|
@ -1545,7 +1548,6 @@ BattleGround * BattleGroundMgr::CreateNewBattleGround(BattleGroundTypeId bgTypeI
|
|||
|
||||
// start the joining of the bg
|
||||
bg->SetStatus(STATUS_WAIT_JOIN);
|
||||
bg->SetBracket(bracketEntry);
|
||||
bg->SetArenaType(arenaType);
|
||||
bg->SetRated(isRated);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9972"
|
||||
#define REVISION_NR "9973"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue