commit b950080b1997e3ca2b61ca24d515caf649449311
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 26 15:23:05 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 26 15:23:05 2018 +0300
Make D_NonVanillaPlayback 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 9b750c5b..8676707c 100644
--- a/src/d_loop.c
+++ b/src/d_loop.c
@@ -861,7 +861,7 @@ static boolean IsDemoFile(int lumpnum)
// 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())
{
diff --git a/src/d_loop.h b/src/d_loop.h
index 8d5798ee..f8538f0b 100644
--- a/src/d_loop.h
+++ b/src/d_loop.h
@@ -82,7 +82,7 @@ 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,
- char *feature);
+ const char *feature);
#endif