commit 4f2fb75e1cc373028107ca62ee97b75ae90ba373
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Aug 7 18:03:33 2018 +0300
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Aug 7 18:03:33 2018 +0300
hexen: Make R_CheckTextureNumForName parameter const
---
src/hexen/h2def.h | 2 +-
src/hexen/r_data.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 65d2f685..aa001270 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -888,7 +888,7 @@ void R_SetViewSize(int blocks, int detail);
int R_FlatNumForName(const char *name);
int R_TextureNumForName(char *name);
-int R_CheckTextureNumForName(char *name);
+int R_CheckTextureNumForName(const char *name);
// called by P_Ticker for switches and animations
// returns the texture number for the texture name
diff --git a/src/hexen/r_data.c b/src/hexen/r_data.c
index a5f65b08..7a782194 100644
--- a/src/hexen/r_data.c
+++ b/src/hexen/r_data.c
@@ -551,7 +551,7 @@ int R_FlatNumForName(const char *name)
================
*/
-int R_CheckTextureNumForName(char *name)
+int R_CheckTextureNumForName(const char *name)
{
int i;