mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Fix #8090: Bug with maze design saving
The exit wasn't being saved - ride_get_entrance_location was mistakenly called twice
This commit is contained in:
committed by
Michael Steenbeek
parent
102a2ee234
commit
6992be87c3
@@ -944,7 +944,7 @@ static bool track_design_save_to_td6_for_maze(uint8_t rideIndex, rct_track_td6*
|
||||
maze++;
|
||||
numMazeElements++;
|
||||
|
||||
location = ride_get_entrance_location(rideIndex, 0);
|
||||
location = ride_get_exit_location(rideIndex, 0);
|
||||
if (location.isNull())
|
||||
{
|
||||
gGameCommandErrorText = STR_TRACK_TOO_LARGE_OR_TOO_MUCH_SCENERY;
|
||||
|
||||
Reference in New Issue
Block a user