commit 6161cfe4f41112818075ef183227ed77c28641b5
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 26 15:21:22 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 26 15:21:22 2018 +0300
Make D_NonVanillaRecord feature parameter const
---
src/d_loop.c | 2 +-
src/d_loop.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/d_loop.c b/src/d_loop.c
index dc760dbc..9b750c5b 100644
--- a/src/d_loop.c
+++ b/src/d_loop.c
@@ -823,7 +823,7 @@ static boolean StrictDemos(void)
// this extension (no extensions are allowed if -strictdemos is given
// on the command line). A warning is shown on the console using the
// provided string describing the non-vanilla expansion.
-boolean D_NonVanillaRecord(boolean conditional, char *feature)
+boolean D_NonVanillaRecord(boolean conditional, const char *feature)
{
if (!conditional || StrictDemos())
{
diff --git a/src/d_loop.h b/src/d_loop.h
index a003a98c..8d5798ee 100644
--- a/src/d_loop.h
+++ b/src/d_loop.h
@@ -78,7 +78,7 @@ extern boolean singletics;
extern int gametic, ticdup;
// Check if it is permitted to record a demo with a non-vanilla feature.
-boolean D_NonVanillaRecord(boolean conditional, char *feature);
+boolean D_NonVanillaRecord(boolean conditional, const char *feature);
// Check if it is permitted to play back a demo with a non-vanilla feature.
boolean D_NonVanillaPlayback(boolean conditional, int lumpnum,