mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
fix files sometimes not loading properly
Namely, when the path cache is off and the file closely matches the name of another file, apparently.
This commit is contained in:
parent
52705de642
commit
3da0f4c948
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ openReadEnumCB(void *d, const char *dirpath, const char *filename) {
|
|||
* of the extension), or up to a following '\0' (full match), we've
|
||||
* found our file */
|
||||
if (last != '.' && last != '\0')
|
||||
return PHYSFS_ENUM_STOP;
|
||||
return PHYSFS_ENUM_OK;
|
||||
|
||||
/* If the path cache is active, translate from lower case
|
||||
* to mixed case path */
|
||||
|
|
Loading…
Add table
Reference in a new issue