Fix tile hash cache check warnings when loading very old savegames

See: #648
This commit is contained in:
Jonathan G Rennison
2024-02-10 23:07:11 +00:00
parent 11f75933bf
commit 3407b3edc0
3 changed files with 9 additions and 1 deletions

View File

@@ -1678,6 +1678,9 @@ static void UpdateFreeformEdges(int32_t new_value)
MakeSea(TileXY(0, i));
}
}
for (Vehicle *v : Vehicle::Iterate()) {
if (v->tile == 0) v->UpdatePosition();
}
MarkWholeScreenDirty();
}