1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00

bugHunt: correcting code to compile

code does not compile yet
This commit is contained in:
Łukasz Pękalski
2020-11-09 12:07:38 +01:00
parent 832fd69822
commit dc93cacbee
9 changed files with 53 additions and 28 deletions

View File

@@ -43,7 +43,7 @@ GameActions::Result::Ptr TrackDesignAction::Query() const
const rct_object_entry* rideEntryObject = &_td.vehicle_object;
uint8_t entryType;
ObjectType entryType;
ObjectEntryIndex entryIndex;
if (!find_object_in_entry_group(rideEntryObject, &entryType, &entryIndex))
{
@@ -106,7 +106,7 @@ GameActions::Result::Ptr TrackDesignAction::Execute() const
const rct_object_entry* rideEntryObject = &_td.vehicle_object;
uint8_t entryType;
ObjectType entryType;
ObjectEntryIndex entryIndex;
if (!find_object_in_entry_group(rideEntryObject, &entryType, &entryIndex))
{