foxygit / doom Log in
commit b1b12be04c8be697183c7db4930a7506acd30f6e
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 5 17:38:19 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 5 17:41:40 2018 +0300

    heretic: Make R_CheckTextureNumForName parameters const
---
 src/heretic/doomdef.h | 2 +-
 src/heretic/r_data.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index 936ab45b..1229ef68 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -754,7 +754,7 @@ void R_SetViewSize(int blocks, int detail);
 int R_FlatNumForName(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/heretic/r_data.c b/src/heretic/r_data.c
index b7f51fb0..75d19127 100644
--- a/src/heretic/r_data.c
+++ b/src/heretic/r_data.c
@@ -595,7 +595,7 @@ int R_FlatNumForName(char *name)
 ================
 */

-int R_CheckTextureNumForName(char *name)
+int R_CheckTextureNumForName(const char *name)
 {
     int i;