diff options
author | n0n4m3 <none@none> | 2010-01-13 14:45:56 +0300 |
---|---|---|
committer | n0n4m3 <none@none> | 2010-01-13 14:45:56 +0300 |
commit | 7a4e793c027a9f706cbaefe5ebe9f9fe1d96b87e (patch) | |
tree | a5d28a11cdb931f74eafdf18b348eb12a9a77e9b /src/game/Group.cpp | |
parent | 92d3209ab212a8fd56a58ccb3057e17a21c77327 (diff) |
Restore hack for instance dungeon difficulty reset exploit.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r-- | src/game/Group.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp index a1585acd41b..b2db3ed46a2 100644 --- a/src/game/Group.cpp +++ b/src/game/Group.cpp @@ -1499,7 +1499,9 @@ void Group::SetDungeonDifficulty(Difficulty difficulty) continue; player->SetDungeonDifficulty(difficulty); player->SendDungeonDifficulty(true); - //send player to recall positio nis a dungeon (to avoid an exploit) + // Send player to recall position is 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); } } |