mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Level editor and resource loader fixups and refactors
This commit is contained in:
@@ -56,7 +56,7 @@ namespace PortabilityLayer
|
||||
|
||||
bool IconLoaderImpl::LoadColorIcon(const int16_t id, THandle<PixMapImpl> &outColorImage, THandle<PixMapImpl> &outBWImage, THandle<PixMapImpl> &outMaskImage)
|
||||
{
|
||||
THandle<const uint8_t> data = PortabilityLayer::ResourceManager::GetInstance()->GetResource('cicn', id).StaticCast<const uint8_t>();
|
||||
THandle<const uint8_t> data = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('cicn', id).StaticCast<const uint8_t>();
|
||||
|
||||
if (!data)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user