Преглед изворни кода

Had IsFlying as a true statement should be false (we set grid when mob is not flying)

Image пре 4 година
родитељ
комит
a024c4f408
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      EQ2/source/WorldServer/Spawn.cpp

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

@@ -2504,7 +2504,7 @@ bool Spawn::CalculateChange(){
 				}
 
 				int32 newGrid = GetZone()->Grid->GetGridID(this);
-				if (IsFlying() && newGrid != 0 && newGrid != appearance.pos.grid_id)
+				if (!IsFlying() && newGrid != 0 && newGrid != appearance.pos.grid_id)
 					SetPos(&(appearance.pos.grid_id), newGrid);
 			}
 		}