ref: bba32942c4cd24ed08ab56eebdc7dbe57b68a33d
parent: 350cc9f150b24d6db8af5b8b0959cd13c76fcaa3
author: Turo Lamminen <[email protected]>
date: Tue May 15 16:01:23 EDT 2018
strife: Make R_TextureNumForName parameter const
--- a/src/strife/r_data.c
+++ b/src/strife/r_data.c
@@ -796,7 +796,7 @@
// Calls R_CheckTextureNumForName,
// aborts with error message.
//
-int R_TextureNumForName (char* name)
+int R_TextureNumForName (const char* name)
{
int i;
--- a/src/strife/r_data.h
+++ b/src/strife/r_data.h
@@ -46,7 +46,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);
void R_SoundNumForDoor(vldoor_t* door); // villsa [STRIFE]