ref: 06bec5ae5a50c5c746401d4ba61890da17fee80a
parent: ed41adf84beca7e87d191ac8e98cec12de56ee16
author: Turo Lamminen <turotl@gmail.com>
date: Tue Aug 7 13:58:21 EDT 2018
hexen: Make R_FlatNumForName parameter const
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -885,7 +885,7 @@
void R_SetViewSize(int blocks, int detail);
// called by M_Responder
-int R_FlatNumForName(char *name);
+int R_FlatNumForName(const char *name);
int R_TextureNumForName(char *name);
int R_CheckTextureNumForName(char *name);
--- a/src/hexen/r_data.c
+++ b/src/hexen/r_data.c
@@ -527,7 +527,7 @@
================
*/
-int R_FlatNumForName(char *name)
+int R_FlatNumForName(const char *name)
{
int i;
char namet[9];