diff options
author | XTZGZoReX <none@none> | 2010-01-13 18:25:46 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-01-13 18:25:46 +0100 |
commit | 53f9e0fba003dca63bdc1aba2d46bfbed756a31e (patch) | |
tree | bb5e405cd1633b9cf6dfe75937261329bd36d94f /src/game/Group.cpp | |
parent | 5a9ef604e20d6ea30fa94a3ddbae6bc4ac6fe93e (diff) | |
parent | f5998611c33670b9f77b4ca5382203c48f4ca63e (diff) |
* Merge.
--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); } } |