fix infinite loop if map has uppercase animated textures
This commit is contained in:
parent
e6cec0eb5e
commit
670347e64e
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue