1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Refactor station covers to use ImageId

This commit is contained in:
Ted John
2021-12-04 04:09:19 +00:00
parent f8431d2b2e
commit 4e9ca39c4a
3 changed files with 18 additions and 41 deletions

View File

@@ -41,8 +41,8 @@ void StationObject::Unload()
gfx_object_free_images(BaseImageId, GetImageTable().GetCount());
NameStringId = 0;
BaseImageId = 0;
ShelterImageId = 0;
BaseImageId = ImageIndexUndefined;
ShelterImageId = ImageIndexUndefined;
}
void StationObject::DrawPreview(rct_drawpixelinfo* dpi, int32_t width, int32_t height) const