shithub: choc

Download patch

ref: 30ac3a4c59f09118d88afc1e2a17f46007b89602
parent: 8f69c655582adfc52f33757fc07648af8c3253fc
author: Turo Lamminen <[email protected]>
date: Sat Dec 8 11:31:17 EST 2018

heretic: Fix const correctness issue in G_InitNew

--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -1567,7 +1567,7 @@
 {
     int i;
     int speed;
-    static char *skyLumpNames[5] = {
+    static const char *skyLumpNames[5] = {
         "SKY1", "SKY2", "SKY3", "SKY1", "SKY3"
     };