mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Replace object_entry_get_type() with method (#10937)
This commit is contained in:
committed by
GitHub
parent
c31ef8e635
commit
18ebe73dfa
@@ -346,8 +346,7 @@ static bool _updatedListAfterDownload;
|
||||
static rct_string_id get_object_type_string(const rct_object_entry* entry)
|
||||
{
|
||||
rct_string_id result;
|
||||
uint8_t objectType = object_entry_get_type(entry);
|
||||
switch (objectType)
|
||||
switch (entry->GetType())
|
||||
{
|
||||
case OBJECT_TYPE_RIDE:
|
||||
result = STR_OBJECT_SELECTION_RIDE_VEHICLES_ATTRACTIONS;
|
||||
|
||||
Reference in New Issue
Block a user