mirror of https://github.com/OpenTTD/OpenTTD
(svn r19806) -Codechange: silence one warning
parent
b229acce25
commit
d568a4258b
|
@ -46,7 +46,7 @@ static void Load_DEPT()
|
||||||
SlObject(depot, _depot_desc);
|
SlObject(depot, _depot_desc);
|
||||||
|
|
||||||
/* Set the town 'pointer' so we can restore it later. */
|
/* Set the town 'pointer' so we can restore it later. */
|
||||||
if (CheckSavegameVersion(141)) depot->town = (Town *)_town_index;
|
if (CheckSavegameVersion(141)) depot->town = (Town *)(size_t)_town_index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue