ref: b1b12be04c8be697183c7db4930a7506acd30f6e
parent: ce6eafceb8d2ad3660194a913a45dcbf053c549d
author: Turo Lamminen <turotl@gmail.com>
date: Sat May 5 13:38:19 EDT 2018
heretic: Make R_CheckTextureNumForName parameters const
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -754,7 +754,7 @@
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
--- a/src/heretic/r_data.c
+++ b/src/heretic/r_data.c
@@ -595,7 +595,7 @@
================
*/
-int R_CheckTextureNumForName(char *name)
+int R_CheckTextureNumForName(const char *name)
{
int i;