Commit 76ba9537 authored by D-AIRY's avatar D-AIRY

Changed default ingame level preview image extension to .bmp

parent 59d6057c
......@@ -367,7 +367,7 @@ GameData::GameData(HWND hWnd, bool isGame):
StringW sLevelName = ev->target->getAttribute(L"level_name");
if(ev->target->getAttribute(L"has_preview")[0] == L'1')
{
StringW sPreview = StringW(L"../../levels/") + sLevelName + L"/preview.png";
StringW sPreview = StringW(L"../../levels/") + sLevelName + L"/preview.bmp";
pNode->getStyleSelf()->background_image->set(sPreview);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment