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

@@ -56,6 +56,7 @@ void WallObject::ReadLegacy(IReadObjectContext * context, IStream * stream)
void WallObject::Load()
{
GetStringTable()->Sort();
_legacyType.name = language_allocate_object_string(GetName());
_legacyType.image = gfx_object_allocate_images(GetImageTable()->GetImages(), GetImageTable()->GetCount());
}