Browse Source

Fix for widgets (lifts) properly moving up down on the Y axis

Image 3 years ago
parent
commit
1d5279a5f5
1 changed files with 4 additions and 1 deletions
  1. 4 1
      EQ2/source/WorldServer/Spawn.cpp

+ 4 - 1
EQ2/source/WorldServer/Spawn.cpp

@@ -2647,7 +2647,10 @@ bool Spawn::CalculateChange(){
 			else {
 				SetX(nx + tar_vx, false);
 				SetZ(nz + tar_vz, false);
-				SetY(ny + tar_vy, false);
+				if ( IsWidget() )
+					SetY(ny + tar_vy, false, true);
+				else
+					SetY(ny + tar_vy, false);
 			}
 
 			if (GetZone()->Grid != nullptr) {