commit f20057f50c360834f8cf61bec27a60cc988390f8
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 29 19:26:06 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 29 19:26:06 2019 +0200
strife: Fix const correctness issue in G_DoPlayDemo
---
src/strife/g_game.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/strife/g_game.c b/src/strife/g_game.c
index ff0935e0..bdf269ac 100644
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2326,14 +2326,14 @@ void G_DoPlayDemo (void)
*/
else
{
- char *message = "Demo is from a different game version!\n"
- "(read %i, should be %i)\n"
- "\n"
- "*** You may need to upgrade your version "
- "of Strife to v1.1 or later. ***\n"
- " See: https://www.doomworld.com/classicdoom"
- "/info/patches.php\n"
- " This appears to be %s.";
+ const char *message = "Demo is from a different game version!\n"
+ "(read %i, should be %i)\n"
+ "\n"
+ "*** You may need to upgrade your version "
+ "of Strife to v1.1 or later. ***\n"
+ " See: https://www.doomworld.com/classicdoom"
+ "/info/patches.php\n"
+ " This appears to be %s.";
I_Error(message, demoversion, STRIFE_VERSION,
DemoVersionDescription(demoversion));