This commit is contained in:
Daveo 2001-02-10 15:23:30 +00:00
parent 6f9b74e18c
commit 9aa5011790
2 changed files with 12 additions and 6 deletions

View file

@ -90,6 +90,7 @@ void CTileBank::Load(CFile *File,int Version)
int ListSize;
GFName RootPath=File->GetFilePath();
GString FilePath;
char FixPath[1024];
FilePath=RootPath.Drive();
FilePath+=RootPath.Dir();
@ -117,6 +118,9 @@ GString FilePath;
FullName.Append(c);
}
FullName.Upper();
_fullpath( FixPath, FullName, 1024);
FullName=FixPath;
CheckFilename(FullName);
AddTileSet(FullName);
}