mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39:10 +00:00
(svn r19806) -Codechange: silence one warning
This commit is contained in:
@@ -46,7 +46,7 @@ static void Load_DEPT()
|
||||
SlObject(depot, _depot_desc);
|
||||
|
||||
/* 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user