ref: 57421ae3e105f8f321144b2fad80a55b73475269
parent: 92f5c72a55ebfe39d93edcf20dcee69f767cb73d
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 13:40:09 EDT 2018
hexen: Make G_DeferedPlayDemo parameter const
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -2044,7 +2044,7 @@
static const char *defdemoname;
-void G_DeferedPlayDemo(char *name)
+void G_DeferedPlayDemo(const char *name)
{
defdemoname = name;
gameaction = ga_playdemo;
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -764,7 +764,7 @@
void G_DeferredNewGame(skill_t skill);
-void G_DeferedPlayDemo(char *demo);
+void G_DeferedPlayDemo(const char *demo);
void G_LoadGame(int slot);
// can be called by the startup code or M_Responder