ref: 5ea48856ccab76d1b94ebbf94a30d2e3a172a722
parent: dc8ed14ef68935fcee4c397714402b013cdc9295
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 13:43:16 EDT 2018
Make D_GameMissionString return value const
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -182,7 +182,7 @@
}
}
-char *D_GameMissionString(GameMission_t mission)
+const char *D_GameMissionString(GameMission_t mission)
{
switch (mission)
{
--- a/src/d_mode.h
+++ b/src/d_mode.h
@@ -102,7 +102,7 @@
int episode, int map);
int D_GetNumEpisodes(GameMission_t mission, GameMode_t mode);
boolean D_IsEpisodeMap(GameMission_t mission);
-char *D_GameMissionString(GameMission_t mission);
+const char *D_GameMissionString(GameMission_t mission);
#endif /* #ifndef __D_MODE__ */