From 2d7441b5a11dc96b20cc7c3c61413cca5d272fab Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sat, 12 Dec 2009 05:40:01 +0300 Subject: [PATCH] [8974] Increase z limit for at transport coordinates for bettr support big height lifts. --- src/game/MovementHandler.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/MovementHandler.cpp b/src/game/MovementHandler.cpp index 76d6545be..0786fffdd 100644 --- a/src/game/MovementHandler.cpp +++ b/src/game/MovementHandler.cpp @@ -248,8 +248,8 @@ void WorldSession::HandleMovementOpcodes( WorldPacket & recv_data ) if (movementInfo.HasMovementFlag(MOVEMENTFLAG_ONTRANSPORT)) { // transports size limited - // (also received at zeppelin leave by some reason with t_* as absolute in continent coordinates, can be safely skipped) - if( movementInfo.t_x > 50 || movementInfo.t_y > 50 || movementInfo.t_z > 50 ) + // (also received at zeppelin/lift leave by some reason with t_* as absolute in continent coordinates, can be safely skipped) + if( movementInfo.t_x > 50 || movementInfo.t_y > 50 || movementInfo.t_z > 100 ) { recv_data.rpos(recv_data.wpos()); // prevent warnings spam return; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 484ab59e1..1b26cb5b6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8973" + #define REVISION_NR "8974" #endif // __REVISION_NR_H__