mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-03 01:38:09 +01:00
(svn r6881) -Fix r6874: uint > int to remove signedness warning MSVC (peter1138)
This commit is contained in:
parent
e550bccf15
commit
5d31cb19d4
@ -93,7 +93,7 @@ static bool TileBelongsToRailStation(const Station *st, TileIndex tile)
|
|||||||
static void MarkStationTilesDirty(const Station *st)
|
static void MarkStationTilesDirty(const Station *st)
|
||||||
{
|
{
|
||||||
TileIndex tile = st->train_tile;
|
TileIndex tile = st->train_tile;
|
||||||
uint w, h;
|
int w, h;
|
||||||
|
|
||||||
// XXX No station is recorded as 0, not INVALID_TILE...
|
// XXX No station is recorded as 0, not INVALID_TILE...
|
||||||
if (tile == 0) return;
|
if (tile == 0) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user