Add cast to clarify slicing of TimeSettings from _settings_client.gui
This commit is contained in:
@@ -547,7 +547,7 @@ void MakeNewgameSettingsLive()
|
||||
/* Copy newgame settings to active settings.
|
||||
* Also initialise old settings needed for savegame conversion. */
|
||||
_settings_game = _settings_newgame;
|
||||
_settings_time = _settings_game.game_time = _settings_client.gui;
|
||||
_settings_time = _settings_game.game_time = (TimeSettings)_settings_client.gui;
|
||||
_old_vds = _settings_client.company.vehicle;
|
||||
|
||||
for (CompanyID c = COMPANY_FIRST; c < MAX_COMPANIES; c++) {
|
||||
|
Reference in New Issue
Block a user