diff options
-rw-r--r-- | src/game/Group.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp index 56a2539a798..4657136ddf4 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -1461,6 +1461,9 @@ 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); } } |