mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +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
48a06ef31e
commit
4285702803
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,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