fix infinite loop if map has uppercase animated textures

This commit is contained in:
Jonathan 2022-11-17 13:55:31 -05:00
parent e6cec0eb5e
commit 670347e64e
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ int FindMiptex(const char *name, std::optional<extended_texinfo_t> &extended_inf
last_i = next_i;
// looped back
if (wal->animation == name)
if (!Q_strcasecmp(wal->animation.c_str(), name))
break;
}