shithub: choc

Download patch

ref: 3bd1270c4861b9a139275d088021c28d13e09216
parent: a901b7a5b6c230eda0896fc98d908d9e520b2d69
author: Turo Lamminen <turotl@gmail.com>
date: Tue Aug 7 14:45:58 EDT 2018

hexen: Fix constness issues in DrawClassMenu

--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -596,12 +596,12 @@
 static void DrawClassMenu(void)
 {
     pclass_t class;
-    static char *boxLumpName[3] = {
+    static const char *boxLumpName[3] = {
         "m_fbox",
         "m_cbox",
         "m_mbox"
     };
-    static char *walkLumpName[3] = {
+    static const char *walkLumpName[3] = {
         "m_fwalk1",
         "m_cwalk1",
         "m_mwalk1"