aboutsummaryrefslogtreecommitdiff
path: root/src/game/Group.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2010-01-13 18:24:23 +0100
committerXTZGZoReX <none@none>2010-01-13 18:24:23 +0100
commitf5998611c33670b9f77b4ca5382203c48f4ca63e (patch)
tree205edb66103fab54740ff9bfa57e2c60f68e4b10 /src/game/Group.cpp
parentf7ad3aefc8e63e87c29d5e9c169210f4e7e80ac8 (diff)
Backed out changeset: 52e769d95f14
--HG-- branch : trunk
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r--src/game/Group.cpp4
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);
}
}