ref: fe634ea57e1603db6f7027273cd04f78de7eede9
parent: bf88335973148c073fa8edaa4c2a904fa580f452
author: Turo Lamminen <[email protected]>
date: Tue May 15 14:40:56 EDT 2018
heretic: Make R_FlatNumForName parameter const
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -751,7 +751,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(const char *name);
int R_CheckTextureNumForName(const char *name);
--- a/src/heretic/r_data.c
+++ b/src/heretic/r_data.c
@@ -571,7 +571,7 @@
================
*/
-int R_FlatNumForName(char *name)
+int R_FlatNumForName(const char *name)
{
int i;
char namet[9];