mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-01 21:51:08 +00:00
Use Q_strcasecmp instead of Q_stricmp().
This should be be noop but looks safer. Reported by maraakate in yquake2 issue #160.
This commit is contained in:
parent
52fd07eb33
commit
bfae128a5c
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ ED_ParseField(const char *key, const char *value, edict_t *ent)
|
|||
|
||||
for (f = fields; f->name; f++)
|
||||
{
|
||||
if (!(f->flags & FFL_NOSPAWN) && !Q_stricmp(f->name, key))
|
||||
if (!(f->flags & FFL_NOSPAWN) && !Q_strcasecmp(f->name, (char *)key))
|
||||
{
|
||||
/* found it */
|
||||
if (f->flags & FFL_SPAWNTEMP)
|
||||
|
|
Loading…
Reference in a new issue