shithub: choc

Download patch

ref: b950080b1997e3ca2b61ca24d515caf649449311
parent: 6161cfe4f41112818075ef183227ed77c28641b5
author: Turo Lamminen <turotl@gmail.com>
date: Sat May 26 11:23:05 EDT 2018

Make D_NonVanillaPlayback feature parameter const

--- a/src/d_loop.c
+++ b/src/d_loop.c
@@ -861,7 +861,7 @@
 //    demo that comes from a .lmp file, not a .wad file.
 //  - Before proceeding, a warning is shown to the user on the console.
 boolean D_NonVanillaPlayback(boolean conditional, int lumpnum,
-                             char *feature)
+                             const char *feature)
 {
     if (!conditional || StrictDemos())
     {
--- a/src/d_loop.h
+++ b/src/d_loop.h
@@ -82,7 +82,7 @@
 
 // Check if it is permitted to play back a demo with a non-vanilla feature.
 boolean D_NonVanillaPlayback(boolean conditional, int lumpnum,
-                             char *feature);
+                             const char *feature);
 
 #endif