ref: 5bed7c7ab75eb0192fa89d66e70c7f8428c763e2
parent: b1b12be04c8be697183c7db4930a7506acd30f6e
author: Turo Lamminen <[email protected]>
date: Sat May 5 13:39:03 EDT 2018
heretic: Make R_TextureNumForName parameter const
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -753,7 +753,7 @@
int R_FlatNumForName(char *name);
-int R_TextureNumForName(char *name);
+int R_TextureNumForName(const 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
@@ -618,7 +618,7 @@
================
*/
-int R_TextureNumForName(char *name)
+int R_TextureNumForName(const char *name)
{
int i;
//char namet[9];