Fix missing direction arrow for stations

This commit is contained in:
Simon Jarrett 2020-10-03 18:42:28 +01:00 committed by Simon Jarrett
parent 25ce8b3f6e
commit 65a8c58af7
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,7 @@
- Fix: [#13044] Rides in RCT1 saves all have "0 customers per hour".
- Fix: [#13074] Entrance and exit ghosts for mazes not being removed.
- Fix: [#13083] Dialog for renaming conflicting track design crops text out.
- Fix: [#13097] Missing direction arrow for stations
- Fix: [#13098] UI buttons for entrance and exit don't toggle according to them being built.
- Fix: [#13098] Maze can still be constructed while placing entrance and exit (original bug).
- Fix: [#13118] Closing construction window resets ride viewport.

View File

@ -1372,13 +1372,16 @@ void ride_construction_invalidate_current_track()
case RIDE_CONSTRUCTION_STATE_MAZE_BUILD:
case RIDE_CONSTRUCTION_STATE_MAZE_MOVE:
case RIDE_CONSTRUCTION_STATE_MAZE_FILL:
case RIDE_CONSTRUCTION_STATE_FRONT:
case RIDE_CONSTRUCTION_STATE_BACK:
if (_currentTrackSelectionFlags & TRACK_SELECTION_FLAG_ARROW)
{
map_invalidate_tile_full(_currentTrackBegin.ToTileStart());
gMapSelectFlags &= ~MAP_SELECT_FLAG_ENABLE_ARROW;
}
ride_construction_remove_ghosts();
break;
case RIDE_CONSTRUCTION_STATE_PLACE:
case RIDE_CONSTRUCTION_STATE_ENTRANCE_EXIT:
default:
if (_currentTrackSelectionFlags & TRACK_SELECTION_FLAG_ARROW)
{