commit 8f0abe20ca8c708bba0454adfb26823e70a3d82c
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 29 19:28:19 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 29 19:28:19 2019 +0200
strife: Make mapnames contents const
---
src/strife/hu_stuff.c | 2 +-
src/strife/hu_stuff.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c
index 34041e8d..a69cf11b 100644
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -121,7 +121,7 @@ static boolean hu_setting_name = false;
// haleyjd 08/31/10: [STRIFE] Changed for Strife level names.
// List of names for levels.
-char *mapnames[] =
+const char *mapnames[] =
{
// Strife map names
diff --git a/src/strife/hu_stuff.h b/src/strife/hu_stuff.h
index fa1efe2b..0a241f69 100644
--- a/src/strife/hu_stuff.h
+++ b/src/strife/hu_stuff.h
@@ -59,7 +59,7 @@ extern char *chat_macros[10];
extern char player_names[8][16]; // villsa [STRIFE]
// haleyjd [STRIFE] externalized:
-extern char *mapnames[];
+extern const char *mapnames[];
// [STRIFE]
extern patch_t* yfont[HU_FONTSIZE]; // haleyjd 09/18/10: [STRIFE]