Skip to content

Commit

Permalink
Core/Instance: Fix GetInstanceSave sometimes checking the wrong map (T…
Browse files Browse the repository at this point in the history
  • Loading branch information
roc13x authored and jackpoz committed Aug 25, 2016
1 parent cd9226e commit 9c504c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Entities/Player/Player.cpp
Expand Up @@ -18590,7 +18590,7 @@ InstanceSave* Player::GetInstanceSave(uint32 mapid, bool raid)
InstanceSave* pSave = pBind ? pBind->save : NULL;
if (!pBind || !pBind->perm)
if (Group* group = GetGroup())
if (InstanceGroupBind* groupBind = group->GetBoundInstance(this))
if (InstanceGroupBind* groupBind = group->GetBoundInstance(GetDifficulty(raid), mapid))
pSave = groupBind->save;

return pSave;
Expand Down

0 comments on commit 9c504c8

Please sign in to comment.