diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/doom/m_menu.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/plugins/doom/m_menu.c b/apps/plugins/doom/m_menu.c index 6f01e066e1..2e1f8af9bf 100644 --- a/apps/plugins/doom/m_menu.c +++ b/apps/plugins/doom/m_menu.c | |||
@@ -16,7 +16,10 @@ | |||
16 | // GNU General Public License for more details. | 16 | // GNU General Public License for more details. |
17 | // | 17 | // |
18 | // $Log$ | 18 | // $Log$ |
19 | // Revision 1.4 2006/04/04 23:13:50 kkurbjun | 19 | // Revision 1.5 2006/04/04 23:58:37 kkurbjun |
20 | // Make savegame strings more informative | ||
21 | // | ||
22 | // Revision 1.4 2006-04-04 23:13:50 kkurbjun | ||
20 | // Fix up configurable keys, edit exit string, more work needs to be done on menu keys | 23 | // Fix up configurable keys, edit exit string, more work needs to be done on menu keys |
21 | // | 24 | // |
22 | // Revision 1.3 2006-04-03 20:03:02 kkurbjun | 25 | // Revision 1.3 2006-04-03 20:03:02 kkurbjun |
@@ -649,8 +652,12 @@ void M_SaveSelect(int choice) | |||
649 | saveStringEnter = 1; | 652 | saveStringEnter = 1; |
650 | 653 | ||
651 | saveSlot = choice; | 654 | saveSlot = choice; |
652 | snprintf(savegamestrings[choice], sizeof(savegamestrings[choice]), "Mysave%d", choice); | 655 | snprintf(savegamestrings[choice], sizeof(savegamestrings[choice]), |
653 | // strcpy(saveOldString,savegamestrings[choice]); | 656 | (gamemode==shareware||gamemode==registered||gamemode==retail) ? |
657 | mapnames[(gameepisode-1)*9+gamemap-1] : (gamemission==doom2) ? | ||
658 | mapnames2[gamemap-1] : (gamemission==pack_plut) ? | ||
659 | mapnamesp[gamemap-1] : (gamemission==pack_tnt) ? | ||
660 | mapnamest[gamemap-1] : "Unknown Location", choice); | ||
654 | if (!strcmp(savegamestrings[choice],EMPTYSTRING)) | 661 | if (!strcmp(savegamestrings[choice],EMPTYSTRING)) |
655 | savegamestrings[choice][0] = 0; | 662 | savegamestrings[choice][0] = 0; |
656 | saveCharIndex = strlen(savegamestrings[choice]); | 663 | saveCharIndex = strlen(savegamestrings[choice]); |