mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[11479] Check map enter for proper deep map in corpse enter case.
This commit is contained in:
parent
116b053be8
commit
cfcac0fa0c
2 changed files with 6 additions and 1 deletions
|
|
@ -784,8 +784,13 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
|||
|
||||
// need find areatrigger to inner dungeon for landing point
|
||||
if (at->target_mapId != corpseMapId)
|
||||
{
|
||||
if (AreaTrigger const* corpseAt = sObjectMgr.GetMapEntranceTrigger(corpseMapId))
|
||||
{
|
||||
at = corpseAt;
|
||||
targetMapEntry = sMapStore.LookupEntry(at->target_mapId);
|
||||
}
|
||||
}
|
||||
|
||||
// now we can resurrect player, and then check teleport requirements
|
||||
pl->ResurrectPlayer(0.5f);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11478"
|
||||
#define REVISION_NR "11479"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue