mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Level editor and resource loader fixups and refactors
This commit is contained in:
@@ -218,7 +218,7 @@ void GetObjectRect (objectPtr who, Rect *itsRect)
|
||||
break;
|
||||
|
||||
case kCustomPict:
|
||||
thePict = GetPicture(who->data.g.height);
|
||||
thePict = LoadHouseResource('PICT', who->data.g.height).StaticCast<BitmapImage>();
|
||||
if (thePict == nil)
|
||||
{
|
||||
who->data.g.height = 10000;
|
||||
|
||||
Reference in New Issue
Block a user