Fix to 729bc32: resurrect only in case dungeon target map

This commit is contained in:
Olion 2015-10-11 00:38:21 +03:00 committed by Antz
parent 81b629d6c5
commit 2000c8aa91

View File

@ -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();