mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 17:32:45 +01:00
Codechange: use explicit TileIndex constructor for tile 0
This commit is contained in:
@@ -2956,7 +2956,7 @@ TileIndex Train::GetOrderStationLocation(StationID station)
|
||||
if (!(st->facilities & FACIL_TRAIN)) {
|
||||
/* The destination station has no trainstation tiles. */
|
||||
this->IncrementRealOrderIndex();
|
||||
return 0;
|
||||
return TileIndex{};
|
||||
}
|
||||
|
||||
return st->xy;
|
||||
|
||||
Reference in New Issue
Block a user