mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
More warning removal (Some code modifications and cleanup when needed)
--HG-- branch : trunk
This commit is contained in:
@@ -150,8 +150,12 @@ 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)))
|
||||
pSave = groupBind->save;
|
||||
if (group)
|
||||
{
|
||||
groupBind = group->GetBoundInstance(this);
|
||||
if (groupBind)
|
||||
pSave = groupBind->save;
|
||||
}
|
||||
}
|
||||
if (pSave)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user