doom: Make end messages const
This commit is contained in:
parent
891e6c4e9a
commit
2ecb680cc7
3 changed files with 5 additions and 5 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "dstrings.h"
|
||||
|
||||
char *doom1_endmsg[] =
|
||||
const char *doom1_endmsg[] =
|
||||
{
|
||||
"are you sure you want to\nquit this great game?",
|
||||
"please don't leave, there's more\ndemons to toast!",
|
||||
|
|
@ -32,7 +32,7 @@ char *doom1_endmsg[] =
|
|||
"go ahead and leave. see if i care.",
|
||||
};
|
||||
|
||||
char *doom2_endmsg[] =
|
||||
const char *doom2_endmsg[] =
|
||||
{
|
||||
// QuitDOOM II messages
|
||||
"are you sure you want to\nquit this great game?",
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@
|
|||
// 8 per each game type
|
||||
#define NUM_QUITMESSAGES 8
|
||||
|
||||
extern char *doom1_endmsg[];
|
||||
extern char *doom2_endmsg[];
|
||||
extern const char *doom1_endmsg[];
|
||||
extern const char *doom2_endmsg[];
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1091,7 +1091,7 @@ void M_QuitResponse(int key)
|
|||
|
||||
static const char *M_SelectEndMessage(void)
|
||||
{
|
||||
char **endmsg;
|
||||
const char **endmsg;
|
||||
|
||||
if (logical_gamemission == doom)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue