fix numbers loading

This commit is contained in:
Glenn Maynard
2003-01-05 03:59:36 +00:00
parent ee10c50216
commit 28a4abd876
+3
View File
@@ -179,7 +179,10 @@ void FontManager::GetFontPaths(const CString &sFontOrTextureFilePath,
ASSERT(sExt.CompareNoCase("redir")); /* don't give us a redir! */
if(!sExt.empty())
{
TexturePaths.push_back(sFontOrTextureFilePath);
return;
}
/* If we have no extension, we need to search. */
GetDirListing( sFontOrTextureFilePath + "*.png", TexturePaths, false, true );