doom: Make R_CheckTextureNumForName parameter const
This commit is contained in:
parent
8dd2c9df0f
commit
4c9a70adf6
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue