ref: ab56f8d2ce035f9b6f165f6d63dc031f069d6b45
parent: 9bcf4bc3cc7ab82c1f7833a35541b6bc570da659
author: Turo Lamminen <turol@iki.fi>
date: Sat May 2 11:24:43 EDT 2020
strife: Make G_RecordDemo parameter const
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2187,7 +2187,7 @@
//
// [STRIFE] Verified unmodified
//
-void G_RecordDemo (char* name)
+void G_RecordDemo (const char* name)
{
size_t demoname_size;
int i;
--- a/src/strife/g_game.h
+++ b/src/strife/g_game.h
@@ -51,7 +51,7 @@
void G_SaveGame (int slot, char* description);
// Only called by startup code.
-void G_RecordDemo (char* name);
+void G_RecordDemo (const char* name);
void G_BeginRecording (void);