doom: Make R_CheckTextureNumForName parameter const

This commit is contained in:
Turo Lamminen 2018-04-24 18:43:31 +03:00
parent 8dd2c9df0f
commit 4c9a70adf6
2 changed files with 2 additions and 2 deletions

View file

@ -741,7 +741,7 @@ int R_FlatNumForName(const char *name)
// Check whether texture is available.
// Filter out NoTexture indicator.
//
int R_CheckTextureNumForName (char *name)
int R_CheckTextureNumForName(const char *name)
{
texture_t *texture;
int key;

View file

@ -46,6 +46,6 @@ 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_CheckTextureNumForName (char *name);
int R_CheckTextureNumForName(const char *name);
#endif