1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-19 02:12:37 +01:00

Codechange: use explicit TileIndex constructor for tile 0

This commit is contained in:
Rubidium
2024-12-31 22:44:12 +01:00
committed by rubidium42
parent 562ec74812
commit fd5f6caed4
20 changed files with 48 additions and 48 deletions

View File

@@ -324,7 +324,7 @@ TileIndex Ship::GetOrderStationLocation(StationID station)
return st->xy;
} else {
this->IncrementRealOrderIndex();
return 0;
return TileIndex{};
}
}