ref: 5d82938c3c0bd4d54bc18d85f668f49216307396
parent: f177dcbc082f60d3e5e89a30b36a17f3cd04eaca
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jul 24 14:31:42 EDT 2018
d_iwad: Make D_SuggestIWADName return value const
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -914,7 +914,7 @@
return "unknown.wad";
}
-char *D_SuggestIWADName(GameMission_t mission, GameMode_t mode)
+const char *D_SuggestIWADName(GameMission_t mission, GameMode_t mode)
{
int i;
--- a/src/d_iwad.h
+++ b/src/d_iwad.h
@@ -44,7 +44,7 @@
char *D_FindIWAD(int mask, GameMission_t *mission);
const iwad_t **D_FindAllIWADs(int mask);
const char *D_SaveGameIWADName(GameMission_t gamemission);
-char *D_SuggestIWADName(GameMission_t mission, GameMode_t mode);
+const char *D_SuggestIWADName(GameMission_t mission, GameMode_t mode);
char *D_SuggestGameName(GameMission_t mission, GameMode_t mode);
void D_CheckCorrectIWAD(GameMission_t mission);