diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Group.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 4657136ddf4..9face6d0e7d 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -1452,7 +1452,8 @@ void Roll::targetObjectBuildLink() void Group::SetDifficulty(uint8 difficulty) { m_difficulty = difficulty; - if(!isBGGroup()) CharacterDatabase.PExecute("UPDATE groups SET difficulty = %u WHERE leaderGuid ='%u'", m_difficulty, GUID_LOPART(m_leaderGuid)); + if (!isBGGroup()) + CharacterDatabase.PExecute("UPDATE groups SET difficulty = %u WHERE leaderGuid ='%u'", m_difficulty, GUID_LOPART(m_leaderGuid)); for (GroupReference *itr = GetFirstMember(); itr != NULL; itr = itr->next()) { @@ -1461,9 +1462,6 @@ void Group::SetDifficulty(uint8 difficulty) continue; player->SetDifficulty(difficulty); player->SendDungeonDifficulty(true); - //send player to recall positio nis a dungeon (to avoid an exploit) - if (sMapStore.LookupEntry(player->GetMap()->IsDungeon())) - player->TeleportTo(player->m_recallMap, player->m_recallX, player->m_recallY, player->m_recallZ, player->m_recallO); } } |