ref: c150deb3687c9fec3281418b98894e59ebe6fc2a
parent: f3cf920e4a768bc205c520ecd6d36466402ea5d2
author: Turo Lamminen <[email protected]>
date: Sat Jul 28 11:29:54 EDT 2018
doom: Fix constness issue in G_DoPlayDemo
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -2186,14 +2186,14 @@
}
else if (demoversion != G_VanillaVersionCode())
{
- 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 Doom to v1.9. ***\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 Doom to v1.9. ***\n"
+ " See: https://www.doomworld.com/classicdoom"
+ "/info/patches.php\n"
+ " This appears to be %s.";
I_Error(message, demoversion, G_VanillaVersionCode(),
DemoVersionDescription(demoversion));