1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

fix get capacity string for vehicles

This commit is contained in:
Ted John
2016-07-11 22:50:55 +01:00
parent eb275604fa
commit edb4a4a822
17 changed files with 45 additions and 6 deletions

View File

@@ -55,6 +55,7 @@ void SceneryGroupObject::ReadLegacy(IReadObjectContext * context, IStream * stre
void SceneryGroupObject::Load()
{
GetStringTable()->Sort();
_legacyType.name = language_allocate_object_string(GetName());
_legacyType.image = gfx_object_allocate_images(GetImageTable()->GetImages(), GetImageTable()->GetCount());
_legacyType.entry_count = 0;