shithub: choc

Download patch

ref: 9bcf4bc3cc7ab82c1f7833a35541b6bc570da659
parent: b2fb9324a939de61e495e43086e3a152dac042bf
author: Turo Lamminen <turol@iki.fi>
date: Sat May 2 11:24:05 EDT 2020

hexen: Make G_RecordDemo name parameter const

--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -1950,7 +1950,7 @@
 */
 
 void G_RecordDemo(skill_t skill, int numplayers, int episode, int map,
-                  char *name)
+                  const char *name)
 {
     int i;
     int maxsize;
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -775,7 +775,7 @@
 // called by M_Responder
 
 void G_RecordDemo(skill_t skill, int numplayers, int episode, int map,
-                  char *name);
+                  const char *name);
 // only called by startup code
 
 void G_PlayDemo(char *name);