Skip to content

Commit

Permalink
const qualify entities findtype()
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Jan 1, 2025
1 parent 321d12f commit f68886a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/entities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void makeundoent()
}
}

int findtype(char *what)
int findtype(const char *what)
{
for(int i = 0; *getentname(i); i++)
{
Expand Down

0 comments on commit f68886a

Please sign in to comment.