doom: Make R_TextureNumForName parameter const

This commit is contained in:
Turo Lamminen 2018-04-24 18:45:23 +03:00
parent 4c9a70adf6
commit f60da3ca34
2 changed files with 2 additions and 2 deletions

View file

@ -772,7 +772,7 @@ int R_CheckTextureNumForName(const char *name)
// Calls R_CheckTextureNumForName,
// aborts with error message.
//
int R_TextureNumForName (char* name)
int R_TextureNumForName(const char *name)
{
int i;

View file

@ -45,7 +45,7 @@ int R_FlatNumForName(const char *name);
// 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