mirror of
https://github.com/edubart/otclient.git
synced 2025-12-25 09:17:11 +01:00
rework log function and protocol
* remove some protocol ifdefs, replace with game features system
This commit is contained in:
@@ -46,7 +46,7 @@ ImagePtr Image::load(const std::string& file)
|
||||
// load image file data
|
||||
image = loadPNG(file);
|
||||
} catch(stdext::exception& e) {
|
||||
logError("unable to load image '", file, "': ", e.what());
|
||||
logError("unable to load image '%s': %s", file, e.what());
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user