ref: f60da3ca34e7e9307170039a7e874e03e230d39a
parent: 4c9a70adf615be068ae085060b9056c9b956aa93
author: Turo Lamminen <turotl@gmail.com>
date: Tue Apr 24 14:45:23 EDT 2018
doom: Make R_TextureNumForName parameter const
--- a/src/doom/r_data.c
+++ b/src/doom/r_data.c
@@ -772,7 +772,7 @@
// Calls R_CheckTextureNumForName,
// aborts with error message.
//
-int R_TextureNumForName (char* name)
+int R_TextureNumForName(const char *name)
{
int i;
--- a/src/doom/r_data.h
+++ b/src/doom/r_data.h
@@ -45,7 +45,7 @@
// Called by P_Ticker for switches and animations,
// returns the texture number for the texture name.
-int R_TextureNumForName (char *name);
+int R_TextureNumForName(const char *name);
int R_CheckTextureNumForName(const char *name);
#endif