doom: Make G_DeferedPlayDemo parameter const

This commit is contained in:
Turo Lamminen 2018-04-03 19:09:35 +03:00
parent 1c98a7fd9e
commit f7ebac1b3c
2 changed files with 2 additions and 2 deletions

View file

@ -2115,7 +2115,7 @@ void G_BeginRecording (void)
static const char *defdemoname;
void G_DeferedPlayDemo (char* name)
void G_DeferedPlayDemo(const char *name)
{
defdemoname = name;
gameaction = ga_playdemo;

View file

@ -37,7 +37,7 @@ void G_InitNew (skill_t skill, int episode, int map);
// 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.