mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Add getters and setters for ride index and maze entry
This commit is contained in:
@@ -2113,7 +2113,7 @@ static money32 place_maze_design(uint8 flags, uint8 rideIndex, uint16 mazeEntry,
|
||||
tileElement->clearance_height = fz + 4;
|
||||
tileElement->type = TILE_ELEMENT_TYPE_TRACK;
|
||||
tileElement->properties.track.type = TRACK_ELEM_MAZE;
|
||||
tileElement->properties.track.ride_index = rideIndex;
|
||||
track_element_set_ride_index(tileElement, rideIndex);
|
||||
tileElement->properties.track.maze_entry = mazeEntry;
|
||||
if (flags & GAME_COMMAND_FLAG_GHOST)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user