ref: 91dabf53557bd9e9cce527ed70f52ea7f73c77a6
parent: 1ac868718c4a94ce27cbbed7965e11d16383c856
author: Fabian Greffrath <[email protected]>
date: Mon Jan 7 09:30:40 EST 2019
default save name is map name and containing WAD file name
--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -634,8 +634,11 @@
//
static void SetDefaultSaveName(int slot)
{
+ extern lumpinfo_t *maplumpinfo;
+
M_snprintf(savegamestrings[itemOn], SAVESTRINGSIZE - 1,
- "JOYSTICK SLOT %i", itemOn + 1);
+ "%s: %s", maplumpinfo->wad_file->basename,
+ maplumpinfo->name);
joypadSave = false;
}