ref: f20057f50c360834f8cf61bec27a60cc988390f8
parent: 8b923a44034123f04b6c5db54943e21ac290647a
author: Turo Lamminen <[email protected]>
date: Tue Jan 29 14:26:06 EST 2019
strife: Fix const correctness issue in G_DoPlayDemo
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2326,14 +2326,14 @@
*/
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));