mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-02 19:39:12 +00:00
(svn r15999) -Codechange: VARDEF--;
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user