mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r15999) -Codechange: VARDEF--;
This commit is contained in:
parent
ebe0f9e7f7
commit
7118c48b98
@ -1124,6 +1124,8 @@ static void DoAutosave()
|
||||
GenerateDefaultSaveName(buf, lastof(buf));
|
||||
strecat(buf, ".sav", lastof(buf));
|
||||
} else {
|
||||
static int _autosave_ctr = 0;
|
||||
|
||||
/* generate a savegame name and number according to _settings_client.gui.max_num_autosaves */
|
||||
snprintf(buf, sizeof(buf), "autosave%d.sav", _autosave_ctr);
|
||||
|
||||
|
@ -31,7 +31,6 @@ VARDEF int _palette_animation_counter;
|
||||
VARDEF uint32 _realtime_tick;
|
||||
|
||||
VARDEF bool _do_autosave;
|
||||
VARDEF int _autosave_ctr;
|
||||
|
||||
VARDEF byte _display_opt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user