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