fix numbers loading
This commit is contained in:
@@ -179,7 +179,10 @@ void FontManager::GetFontPaths(const CString &sFontOrTextureFilePath,
|
|||||||
ASSERT(sExt.CompareNoCase("redir")); /* don't give us a redir! */
|
ASSERT(sExt.CompareNoCase("redir")); /* don't give us a redir! */
|
||||||
|
|
||||||
if(!sExt.empty())
|
if(!sExt.empty())
|
||||||
|
{
|
||||||
TexturePaths.push_back(sFontOrTextureFilePath);
|
TexturePaths.push_back(sFontOrTextureFilePath);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* If we have no extension, we need to search. */
|
/* If we have no extension, we need to search. */
|
||||||
GetDirListing( sFontOrTextureFilePath + "*.png", TexturePaths, false, true );
|
GetDirListing( sFontOrTextureFilePath + "*.png", TexturePaths, false, true );
|
||||||
|
|||||||
Reference in New Issue
Block a user