(svn r15999) -Codechange: VARDEF--;

This commit is contained in:
rubidium
2009-04-09 01:22:33 +00:00
parent b0113af67c
commit 8911a34b35
2 changed files with 2 additions and 1 deletions

View File

@@ -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);