mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Removed some usages of std string as resource path
This commit is contained in:
@@ -69,7 +69,7 @@ bool CAnimation::loadFrame(size_t frame, size_t group)
|
||||
// still here? image is missing
|
||||
|
||||
printError(frame, group, "LoadFrame");
|
||||
images[group][frame] = std::make_shared<SDLImage>("DEFAULT", EImageBlitMode::ALPHA);
|
||||
images[group][frame] = std::make_shared<SDLImage>(ImagePath::builtin("DEFAULT"), EImageBlitMode::ALPHA);
|
||||
}
|
||||
else //load from separate file
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user