mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Rework path surface and railings descriptor handling
This commit is contained in:
@@ -24,6 +24,11 @@ void FootpathSurfaceObject::Load()
|
||||
PreviewImageId = gfx_object_allocate_images(GetImageTable().GetImages(), GetImageTable().GetCount());
|
||||
BaseImageId = PreviewImageId + 1;
|
||||
}
|
||||
|
||||
_descriptor.Name = NameStringId;
|
||||
_descriptor.Image = BaseImageId;
|
||||
_descriptor.PreviewImage = PreviewImageId;
|
||||
_descriptor.Flags = Flags;
|
||||
}
|
||||
|
||||
void FootpathSurfaceObject::Unload()
|
||||
|
||||
Reference in New Issue
Block a user