mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-25 21:53:32 -04:00
Fix missing filesystem map (#190)
This commit is contained in:
parent
8f8bf3142e
commit
def1cf8a12
@ -640,6 +640,8 @@ MxResult LegoAnimationManager::LoadWorldInfo(LegoOmni::World p_worldId)
|
||||
}
|
||||
|
||||
strcat(path, filename);
|
||||
MxString::MapPathToFilesystem(path);
|
||||
|
||||
SDL_PathInfo pathInfo;
|
||||
|
||||
if (!SDL_GetPathInfo(path, &pathInfo) || pathInfo.type != SDL_PATHTYPE_FILE) {
|
||||
@ -650,6 +652,7 @@ MxResult LegoAnimationManager::LoadWorldInfo(LegoOmni::World p_worldId)
|
||||
}
|
||||
|
||||
strcat(path, filename);
|
||||
MxString::MapPathToFilesystem(path);
|
||||
|
||||
if (!SDL_GetPathInfo(path, &pathInfo) || pathInfo.type != SDL_PATHTYPE_FILE) {
|
||||
goto done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user