shithub: choc

Download patch

ref: f96fb6079a2675697869237c21fd60e69c3d94c3
parent: 43edb6bf2e1d1cdc0bb4389a0c94b8751a18df38
author: Turo Lamminen <turol@iki.fi>
date: Mon Apr 27 15:47:31 EDT 2020

hexen: Fix const correctness issue in InitMapInfo

--- a/src/hexen/p_setup.c
+++ b/src/hexen/p_setup.c
@@ -796,7 +796,7 @@
     int mcmdValue;
     mapInfo_t *info;
     char songMulch[10];
-    char *default_sky_name = DEFAULT_SKY_NAME;
+    const char *default_sky_name = DEFAULT_SKY_NAME;
 
     mapMax = 1;