commit ab56f8d2ce035f9b6f165f6d63dc031f069d6b45
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Sat May 2 15:24:43 2020 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Sat May 2 15:24:43 2020 +0300
strife: Make G_RecordDemo parameter const
---
src/strife/g_game.c | 2 +-
src/strife/g_game.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/strife/g_game.c b/src/strife/g_game.c
index bdf269ac..7486bd3b 100644
--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -2187,7 +2187,7 @@ void G_WriteDemoTiccmd (ticcmd_t* cmd)
//
// [STRIFE] Verified unmodified
//
-void G_RecordDemo (char* name)
+void G_RecordDemo (const char* name)
{
size_t demoname_size;
int i;
diff --git a/src/strife/g_game.h b/src/strife/g_game.h
index 3cc01092..9a0e47fb 100644
--- a/src/strife/g_game.h
+++ b/src/strife/g_game.h
@@ -51,7 +51,7 @@ void G_DoLoadGame (boolean userload);
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);