mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 23:04:36 +01:00
Create ObjectEntryIndex (#10980)
This commit is contained in:
committed by
GitHub
parent
c89cecb2b5
commit
c519512cfe
@@ -203,7 +203,8 @@ void setup_in_use_selection_flags()
|
||||
const ObjectRepositoryItem* item = &items[i];
|
||||
*selectionFlags &= ~OBJECT_SELECTION_FLAG_IN_USE;
|
||||
|
||||
uint8_t entryType, entryIndex;
|
||||
uint8_t entryType;
|
||||
ObjectEntryIndex entryIndex;
|
||||
if (find_object_in_entry_group(&item->ObjectEntry, &entryType, &entryIndex))
|
||||
{
|
||||
auto flags = Editor::GetSelectedObjectFlags(entryType, entryIndex);
|
||||
@@ -282,7 +283,8 @@ void editor_object_flags_free()
|
||||
*/
|
||||
static void remove_selected_objects_from_research(const rct_object_entry* installedObject)
|
||||
{
|
||||
uint8_t entry_type, entry_index;
|
||||
uint8_t entry_type;
|
||||
ObjectEntryIndex entry_index;
|
||||
if (!find_object_in_entry_group(installedObject, &entry_type, &entry_index))
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user