Переглянути джерело

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);
 			}
 		}