mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +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
|
||||
fnmExpanded = _fnmApplicationPath+_fnmMod+fnmFileAbsolute;
|
||||
fnmExpanded.SetAbsolutePath();
|
||||
VerifyDirsExist(fnmExpanded.FileDir());
|
||||
return EFP_FILE;
|
||||
// if should not write to mod dir
|
||||
} else {
|
||||
// write to base dir
|
||||
fnmExpanded = _fnmApplicationPath+fnmFileAbsolute;
|
||||
fnmExpanded.SetAbsolutePath();
|
||||
VerifyDirsExist(fnmExpanded.FileDir());
|
||||
return EFP_FILE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user