mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Return built in default image
This commit is contained in:
@ -264,7 +264,7 @@ std::shared_ptr<const ISharedImage> RenderHandler::loadImageFromFileUncached(con
|
|||||||
{
|
{
|
||||||
logGlobal->error("Frame %d in group %d not found in file: %s",
|
logGlobal->error("Frame %d in group %d not found in file: %s",
|
||||||
locator.defFrame, locator.defGroup, locator.defFile->getName().c_str());
|
locator.defFrame, locator.defGroup, locator.defFile->getName().c_str());
|
||||||
return std::make_shared<SDLEmptyImageShared>();
|
return std::make_shared<SDLImageShared>(ImagePath::builtin("DEFAULT"), locator.preScaledFactor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user