[8974] Increase z limit for at transport coordinates for bettr support big height lifts.

This commit is contained in:
VladimirMangos 2009-12-12 05:40:01 +03:00
parent 0d927f6c89
commit 2d7441b5a1
2 changed files with 3 additions and 3 deletions

View file

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