mirror of
				https://github.com/edubart/otclient.git
				synced 2025-11-03 20:26:23 +01:00 
			
		
		
		
	Many UI improvements and minor fixes
This commit is contained in:
		@@ -311,3 +311,9 @@ std::string ResourceManager::getBaseDir()
 | 
			
		||||
    return buffer;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
std::string ResourceManager::guessFileType(const std::string& filename, const std::string& type)
 | 
			
		||||
{
 | 
			
		||||
    if(g_resources.fileExists(filename))
 | 
			
		||||
        return filename;
 | 
			
		||||
    return filename + "." + type;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user