Fix to 729bc32: resurrect only in case dungeon target map
This commit is contained in:
parent
81b629d6c5
commit
2000c8aa91
@ -1560,7 +1560,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
|
|||||||
SendTransferAbortedByLockStatus(mEntry, lockStatus, miscRequirement);
|
SendTransferAbortedByLockStatus(mEntry, lockStatus, miscRequirement);
|
||||||
return false;
|
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);
|
ResurrectPlayer(0.5f);
|
||||||
SpawnCorpseBones();
|
SpawnCorpseBones();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user