aboutsummaryrefslogtreecommitdiff
path: root/src/game/Group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r--src/game/Group.cpp6
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);
}
}