commit 350cc9f150b24d6db8af5b8b0959cd13c76fcaa3
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 19:59:55 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 19:59:55 2018 +0300
strife: Make R_CheckTextureNumForName 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 fe0eff78..fb689a8b 100644
--- a/src/strife/r_data.c
+++ b/src/strife/r_data.c
@@ -765,7 +765,7 @@ int R_FlatNumForName (char* name)
// Check whether texture is available.
// Filter out NoTexture indicator.
//
-int R_CheckTextureNumForName (char *name)
+int R_CheckTextureNumForName(const char *name)
{
texture_t *texture;
int key;
diff --git a/src/strife/r_data.h b/src/strife/r_data.h
index f003821f..de173345 100644
--- a/src/strife/r_data.h
+++ b/src/strife/r_data.h
@@ -47,7 +47,7 @@ int R_FlatNumForName (char* name);
// Called by P_Ticker for switches and animations,
// returns the texture number for the texture name.
int R_TextureNumForName (char *name);
-int R_CheckTextureNumForName (char *name);
+int R_CheckTextureNumForName (const char *name);
void R_SoundNumForDoor(vldoor_t* door); // villsa [STRIFE]
#endif