mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2025-02-16 23:20:09 +01:00
Fixed a mismerge.
(But I still need to figure out what I'm doing between SetAbsolutePath() and whatever I had before...)
This commit is contained in:
parent
3adda272b7
commit
c752e7cace
@ -1570,12 +1570,14 @@ INDEX ExpandFilePath(ULONG ulType, const CTFileName &fnmFile, CTFileName &fnmExp
|
|||||||
// do that
|
// do that
|
||||||
fnmExpanded = _fnmApplicationPath+_fnmMod+fnmFileAbsolute;
|
fnmExpanded = _fnmApplicationPath+_fnmMod+fnmFileAbsolute;
|
||||||
fnmExpanded.SetAbsolutePath();
|
fnmExpanded.SetAbsolutePath();
|
||||||
|
VerifyDirsExist(fnmExpanded.FileDir());
|
||||||
return EFP_FILE;
|
return EFP_FILE;
|
||||||
// if should not write to mod dir
|
// if should not write to mod dir
|
||||||
} else {
|
} else {
|
||||||
// write to base dir
|
// write to base dir
|
||||||
fnmExpanded = _fnmApplicationPath+fnmFileAbsolute;
|
fnmExpanded = _fnmApplicationPath+fnmFileAbsolute;
|
||||||
fnmExpanded.SetAbsolutePath();
|
fnmExpanded.SetAbsolutePath();
|
||||||
|
VerifyDirsExist(fnmExpanded.FileDir());
|
||||||
return EFP_FILE;
|
return EFP_FILE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user