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:
committed by
GitHub
parent
bf413b2ab7
commit
be9f27e4f9
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user