1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +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

@@ -49,6 +49,7 @@ void FootpathObject::ReadLegacy(IReadObjectContext * context, IStream * stream)
void FootpathObject::Load()
{
GetStringTable()->Sort();
_legacyType.string_idx = language_allocate_object_string(GetName());
_legacyType.image = gfx_object_allocate_images(GetImageTable()->GetImages(), GetImageTable()->GetCount());
_legacyType.bridge_image = _legacyType.image + 109;