This commit is contained in:
parent
6f9b74e18c
commit
9aa5011790
2 changed files with 12 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue