mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Level editor and resource loader fixups and refactors
This commit is contained in:
@@ -15,7 +15,7 @@ namespace PortabilityLayer
|
||||
|
||||
bool ImageWidget::Init(const WidgetBasicState &state)
|
||||
{
|
||||
m_pict = PortabilityLayer::ResourceManager::GetInstance()->GetResource('PICT', state.m_resID).StaticCast<BitmapImage>();
|
||||
m_pict = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('PICT', state.m_resID).StaticCast<BitmapImage>();
|
||||
|
||||
if (!m_pict)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user