foxygit / doom Log in
commit c5384b04ba31e12f42c3844d53ff489782cc69cd
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Jul 28 15:41:33 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jul 31 18:30:08 2018 +0300

    doom: Make mapnames_commercial contents const
---
 src/doom/hu_stuff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/hu_stuff.c b/src/doom/hu_stuff.c
index ea381b66..c09de337 100644
--- a/src/doom/hu_stuff.c
+++ b/src/doom/hu_stuff.c
@@ -224,7 +224,7 @@ const char *mapnames_chex[] =   // Chex Quest names.
 // the layout in the Vanilla executable, where it is possible to
 // overflow the end of one array into the next.

-char *mapnames_commercial[] =
+const char *mapnames_commercial[] =
 {
     // DOOM 2 map names.