1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Return built in default image

This commit is contained in:
MichalZr6
2024-12-02 17:17:09 +01:00
parent 5fc61df717
commit 81e29d6ce2
2 changed files with 20 additions and 20 deletions

View File

@ -264,7 +264,7 @@ std::shared_ptr<const ISharedImage> RenderHandler::loadImageFromFileUncached(con
{
logGlobal->error("Frame %d in group %d not found in file: %s",
locator.defFrame, locator.defGroup, locator.defFile->getName().c_str());
return std::make_shared<SDLEmptyImageShared>();
return std::make_shared<SDLImageShared>(ImagePath::builtin("DEFAULT"), locator.preScaledFactor);
}
}