[10123] Fixed recent problem with enter to dungeons in group.

Problem related to implicit get map id from player in Group::GetBoundInstance
when in some cases check done before player mapid update.
This commit is contained in:
VladimirMangos 2010-06-30 00:43:46 +04:00
parent 15390df4d9
commit 41f8cfb14c
5 changed files with 6 additions and 7 deletions

View file

@ -16439,7 +16439,7 @@ InstanceSave* Player::GetBoundInstanceSaveForSelfOrGroup(uint32 mapid)
InstanceGroupBind *groupBind = NULL;
Group *group = 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(mapid, this)))
pSave = groupBind->save;
}