Skip to content

Commit

Permalink
Fix OpenRCT2#8537: Imported RCT1 rides/shops are all numbered 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Mar 27, 2019
1 parent 31d32ca commit 4b92c12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions distribution/changelog.txt
Expand Up @@ -7,6 +7,7 @@
- Fix: [#5579] Network desync immediately after connecting.
- Fix: [#6006] Objects higher than 6 metres are considered trees (original bug).
- Fix: [#7884] Unfinished preserved rides can be demolished with quick demolish.
- Fix: [#8537] Imported RCT1 rides/shops are all numbered 1.
- Fix: [#8873] Potential crash when placing footpaths.
- Fix: [#8882] Submarine Ride does not count as indoors (original bug).
- Fix: [#8900] Peep tracking is not synchronized.
Expand Down
2 changes: 1 addition & 1 deletion src/openrct2/ride/Ride.cpp
Expand Up @@ -5855,7 +5855,7 @@ static bool ride_name_exists(char* name)
FOR_ALL_RIDES (i, ride)
{
format_string(buffer, 256, ride->name, &ride->name_arguments);
if ((strcmp(buffer, name) == 0) && ride_has_any_track_elements(ride))
if (strcmp(buffer, name) == 0)
{
return true;
}
Expand Down

0 comments on commit 4b92c12

Please sign in to comment.