mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[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:
parent
15390df4d9
commit
41f8cfb14c
5 changed files with 6 additions and 7 deletions
|
|
@ -549,7 +549,7 @@ bool ChatHandler::HandleGonameCommand(const char* args)
|
|||
{
|
||||
Group *group = _player->GetGroup();
|
||||
// if no bind exists, create a solo bind
|
||||
InstanceGroupBind *gBind = group ? group->GetBoundInstance(target) : NULL;
|
||||
InstanceGroupBind *gBind = group ? group->GetBoundInstance(target->GetMapId(), target) : NULL;
|
||||
// if no bind exists, create a solo bind
|
||||
if (!gBind)
|
||||
if (InstanceSave *save = target->GetMap()->GetInstanceSave())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue