mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 22:37:04 +00:00
[9593] Fixed bug in instance binding in case heroic/25-man raids difficulties
In fact typo in my old commit at adding support MapDifficulty.dbc.
This commit is contained in:
parent
e92e01ebac
commit
e692862827
5 changed files with 5 additions and 8 deletions
|
|
@ -139,7 +139,7 @@ Map* MapInstanced::CreateInstance(const uint32 mapId, Player * player)
|
|||
InstanceGroupBind *groupBind = NULL;
|
||||
Group *group = player->GetGroup();
|
||||
// use the player's difficulty setting (it may not be the same as the group's)
|
||||
if(group && (groupBind = group->GetBoundInstance(this)))
|
||||
if(group && (groupBind = group->GetBoundInstance(this,player->GetDifficulty(IsRaid()))))
|
||||
pSave = groupBind->save;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue