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:
@@ -324,7 +324,7 @@ TileIndex Ship::GetOrderStationLocation(StationID station)
|
||||
return st->xy;
|
||||
} else {
|
||||
this->IncrementRealOrderIndex();
|
||||
return 0;
|
||||
return TileIndex{};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user