From 2000c8aa91c3ee23b1358861919a424ac2995a4c Mon Sep 17 00:00:00 2001 From: Olion Date: Sun, 11 Oct 2015 00:38:21 +0300 Subject: [PATCH] Fix to 729bc32: resurrect only in case dungeon target map --- src/game/Object/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Object/Player.cpp b/src/game/Object/Player.cpp index 5e85e930..8b27372e 100644 --- a/src/game/Object/Player.cpp +++ b/src/game/Object/Player.cpp @@ -1560,7 +1560,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati SendTransferAbortedByLockStatus(mEntry, lockStatus, miscRequirement); return false; } - if (IsDead()) // rare case of teleporting the player into an instance with no areatrigger participation + if (IsDead() && mEntry->IsDungeon()) // rare case of teleporting the player into an instance with no areatrigger participation { ResurrectPlayer(0.5f); SpawnCorpseBones();