mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
fix get capacity string for vehicles
This commit is contained in:
@@ -40,6 +40,7 @@ void EntranceObject::ReadLegacy(IReadObjectContext * context, IStream * stream)
|
||||
|
||||
void EntranceObject::Load()
|
||||
{
|
||||
GetStringTable()->Sort();
|
||||
_legacyType.string_idx = language_allocate_object_string(GetName());
|
||||
_legacyType.image_id = gfx_object_allocate_images(GetImageTable()->GetImages(), GetImageTable()->GetCount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user