Core/Maps: ported all master branch changes for map extractor including height map extraction
* new maps, and mmaps are required
This commit is contained in:
1 parent
c10573f1d0
commit
fe7bcac696
14 files changed
+597
-699
No files matched your search
@@ -429,8 +429,7 @@ void WorldSession::HandleMovementOpcodes(WorldPacket& recvPacket)
|
||||
plrMover->UpdateFallInformationIfNeed(movementInfo, opcode);
|
||||
|
||||
AreaTableEntry const* zone = sAreaTableStore.LookupEntry(plrMover->GetAreaId());
|
||||
float depth = zone ? zone->MinElevation : -500.0f;
|
||||
if (movementInfo.pos.GetPositionZ() < depth)
|
||||
if (movementInfo.pos.GetPositionZ() < plrMover->GetMap()->GetMinHeight(movementInfo.pos.GetPositionX(), movementInfo.pos.GetPositionY()))
|
||||
{
|
||||
if (!(plrMover->GetBattleground() && plrMover->GetBattleground()->HandlePlayerUnderMap(_player)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user