mirror of
https://github.com/edubart/otclient.git
synced 2025-12-25 09:17:11 +01:00
Minor changes in file type handling
This commit is contained in:
@@ -39,7 +39,7 @@ ImagePtr Image::load(std::string file)
|
||||
{
|
||||
ImagePtr image;
|
||||
try {
|
||||
file = g_resources.guessFileType(file, "png");
|
||||
file = g_resources.guessFilePath(file, "png");
|
||||
|
||||
// load image file data
|
||||
image = loadPNG(file);
|
||||
|
||||
Reference in New Issue
Block a user