commit 003395076f6428011f974028245bae80157f7578
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 20:14:52 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 20:14:52 2018 +0300
strife: Make R_FlatNumForName parameter const
---
src/strife/r_data.c | 2 +-
src/strife/r_data.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/strife/r_data.c b/src/strife/r_data.c
index b20a79db..2ee5c426 100644
--- a/src/strife/r_data.c
+++ b/src/strife/r_data.c
@@ -741,7 +741,7 @@ void R_InitData (void)
// R_FlatNumForName
// Retrieval, get a flat number for a flat name.
//
-int R_FlatNumForName (char* name)
+int R_FlatNumForName(const char *name)
{
int i;
char namet[9];
diff --git a/src/strife/r_data.h b/src/strife/r_data.h
index 927d3058..b038a42d 100644
--- a/src/strife/r_data.h
+++ b/src/strife/r_data.h
@@ -41,7 +41,7 @@ void R_PrecacheLevel (void);
// Retrieval.
// Floor/ceiling opaque texture tiles,
// lookup by name. For animation?
-int R_FlatNumForName (char* name);
+int R_FlatNumForName(const char *name);
// Called by P_Ticker for switches and animations,