[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:
VladimirMangos 2010-03-16 18:10:40 +03:00
parent e92e01ebac
commit e692862827
5 changed files with 5 additions and 8 deletions

View file

@ -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;
}