mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 09:44:52 +01:00
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
This commit is contained in:
@@ -3422,16 +3422,16 @@ void ride_construction_toolupdate_entrance_exit(const ScreenCoordsXY& screenCoor
|
||||
void ride_construction_tooldown_construct(const ScreenCoordsXY& screenCoords)
|
||||
{
|
||||
const CursorState* state = context_get_cursor_state();
|
||||
RideId rideIndex;
|
||||
int32_t trackType, trackDirection, liftHillAndAlternativeState, z, properties, highestZ;
|
||||
|
||||
rct_window* w;
|
||||
|
||||
map_invalidate_map_selection_tiles();
|
||||
ride_construction_invalidate_current_track();
|
||||
|
||||
CoordsXYZ mapCoords{};
|
||||
if (window_ride_construction_update_state(
|
||||
&trackType, &trackDirection, &rideIndex, &liftHillAndAlternativeState, &mapCoords, &properties))
|
||||
int32_t trackType, z, highestZ;
|
||||
|
||||
if (window_ride_construction_update_state(&trackType, nullptr, nullptr, nullptr, nullptr, nullptr))
|
||||
return;
|
||||
|
||||
z = mapCoords.z;
|
||||
|
||||
Reference in New Issue
Block a user