ref: f7ebac1b3c3a66f8f3ba4ab8f8b6517bcde5260d
parent: 1c98a7fd9e8ac29b2671957e26f43c433c94fd78
author: Turo Lamminen <turotl@gmail.com>
date: Tue Apr 3 15:09:35 EDT 2018
doom: Make G_DeferedPlayDemo parameter const
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -2115,7 +2115,7 @@
static const char *defdemoname;
-void G_DeferedPlayDemo (char* name)
+void G_DeferedPlayDemo(const char *name)
{
defdemoname = name;
gameaction = ga_playdemo;
--- a/src/doom/g_game.h
+++ b/src/doom/g_game.h
@@ -37,7 +37,7 @@
// but a warp test can start elsewhere
void G_DeferedInitNew (skill_t skill, int episode, int map);
-void G_DeferedPlayDemo (char* demo);
+void G_DeferedPlayDemo (const char* demo);
// Can be called by the startup code or M_Responder,
// calls P_SetupLevel or W_EnterWorld.