1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00

Mass rename constants (#23656)

This commit is contained in:
Michael Steenbeek
2025-01-19 16:59:45 +01:00
committed by GitHub
parent bf413b2ab7
commit be9f27e4f9
270 changed files with 1636 additions and 1640 deletions

View File

@@ -209,7 +209,7 @@ std::string Object::GetName(int32_t language) const
ImageIndex Object::LoadImages()
{
if (_baseImageId == ImageIndexUndefined)
if (_baseImageId == kImageIndexUndefined)
{
_baseImageId = GfxObjectAllocateImages(GetImageTable().GetImages(), GetImageTable().GetCount());
}
@@ -218,10 +218,10 @@ ImageIndex Object::LoadImages()
void Object::UnloadImages()
{
if (_baseImageId != ImageIndexUndefined)
if (_baseImageId != kImageIndexUndefined)
{
GfxObjectFreeImages(_baseImageId, GetImageTable().GetCount());
_baseImageId = ImageIndexUndefined;
_baseImageId = kImageIndexUndefined;
}
}