mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-18 13:21:16 +00: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);
|
strcat(path, filename);
|
||||||
|
MxString::MapPathToFilesystem(path);
|
||||||
|
|
||||||
SDL_PathInfo pathInfo;
|
SDL_PathInfo pathInfo;
|
||||||
|
|
||||||
if (!SDL_GetPathInfo(path, &pathInfo) || pathInfo.type != SDL_PATHTYPE_FILE) {
|
if (!SDL_GetPathInfo(path, &pathInfo) || pathInfo.type != SDL_PATHTYPE_FILE) {
|
||||||
@ -650,6 +652,7 @@ MxResult LegoAnimationManager::LoadWorldInfo(LegoOmni::World p_worldId)
|
|||||||
}
|
}
|
||||||
|
|
||||||
strcat(path, filename);
|
strcat(path, filename);
|
||||||
|
MxString::MapPathToFilesystem(path);
|
||||||
|
|
||||||
if (!SDL_GetPathInfo(path, &pathInfo) || pathInfo.type != SDL_PATHTYPE_FILE) {
|
if (!SDL_GetPathInfo(path, &pathInfo) || pathInfo.type != SDL_PATHTYPE_FILE) {
|
||||||
goto done;
|
goto done;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user