ref: 4f2fb75e1cc373028107ca62ee97b75ae90ba373
parent: 06bec5ae5a50c5c746401d4ba61890da17fee80a
author: Turo Lamminen <turotl@gmail.com>
date: Tue Aug 7 14:03:33 EDT 2018
hexen: Make R_CheckTextureNumForName parameter const
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -888,7 +888,7 @@
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
--- a/src/hexen/r_data.c
+++ b/src/hexen/r_data.c
@@ -551,7 +551,7 @@
================
*/
-int R_CheckTextureNumForName(char *name)
+int R_CheckTextureNumForName(const char *name)
{
int i;