ref: 8f0abe20ca8c708bba0454adfb26823e70a3d82c
parent: f20057f50c360834f8cf61bec27a60cc988390f8
author: Turo Lamminen <[email protected]>
date: Tue Jan 29 14:28:19 EST 2019
strife: Make mapnames contents const
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -121,7 +121,7 @@
// haleyjd 08/31/10: [STRIFE] Changed for Strife level names.
// List of names for levels.
-char *mapnames[] =
+const char *mapnames[] =
{
// Strife map names
--- a/src/strife/hu_stuff.h
+++ b/src/strife/hu_stuff.h
@@ -59,7 +59,7 @@
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]