shithub: choc

Download patch

ref: 333de63bfa458db3a2aef351d2d4c4827e63fc2f
parent: a6ef89c78a7875a276c7e95dd00f3f23f01137f0
author: Turo Lamminen <[email protected]>
date: Tue May 15 15:52:25 EDT 2018

strife: Make G_DeferedPlayDemo parameter const

--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2266,7 +2266,7 @@
 //
 // [STRIFE] Verified unmodified
 //
-void G_DeferedPlayDemo (char* name) 
+void G_DeferedPlayDemo(const char *name)
 { 
     defdemoname = name; 
     gameaction = ga_playdemo; 
--- a/src/strife/g_game.h
+++ b/src/strife/g_game.h
@@ -39,7 +39,7 @@
 // [STRIFE] Removed episode parameter
 void G_DeferedInitNew (skill_t skill, 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.