1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Fix #7331: Invention list crashes upon removing previously-enabled ride/stall entries

This commit is contained in:
Tomas Dittmann
2018-05-11 13:28:56 +02:00
committed by Michael Steenbeek
parent 5284b67546
commit cb162edcfe
2 changed files with 3 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
- Fix: [#7176] Mechanics sometimes fall down from rides.
- Fix: [#7303] Visual glitch with virtual floor near map edges.
- Fix: [#7327] Abstract scenery and stations don't get fully See-Through when hiding them (original bug).
- Fix: [#7331] Invention list in scenario editor crashes upon removing previously-enabled ride/stall entries.
- Fix: [#7382] Opening the mini-map reverts the size of the land tool to 1x1, regardless of what was selected before.
- Fix: [#7402] Edges of neigbouring footpaths stay connected after removing a path that's underneath a ride entrance.
- Fix: [#7405] Rides can be covered by placing scenery underneath them.

View File

@@ -549,6 +549,8 @@ void research_insert(sint32 researched, sint32 rawValue, uint8 category)
*/
void research_populate_list_random()
{
research_reset_items();
// Rides
for (sint32 i = 0; i < MAX_RIDE_OBJECTS; i++)
{