mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: use explicit TileIndex constructor for tile 0
This commit is contained in:
+1
-1
@@ -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