Fix #18895: Responding mechanic blocked at level crossing (#19620)

Remove the condition regarding the ride's breakdown reason. Other breakdown reasons can also cause trains getting stuck at a level crossing.
This commit is contained in:
Rik Smeets authored and GitHub committed 2023-04-02 17:57:59 +02:00
1 parent f8b30fbb36
commit de06f6026e
3 files changed
+3 -2

No files matched your search

+1
View File
@@ -2,6 +2,7 @@
------------------------------------------------------------------------
- Improved: [#18490] Reduce guests walking through trains on level crossing next to station.
- Improved: [#19764] Miscellaneous scenery tab now grouped next to the all-scenery tab.
- Fix: [#18895] Responding mechanic blocked at level crossing.
- Fix: [#19296] Crash due to a race condition for parallel object loading.
- Fix: [#19756] Crash with title sequences containing no commands.
- Fix: [#19767] No message when path is not connected to ride exit and is therefore unreachable for mechanics.
+1 -1
View File
@@ -880,7 +880,7 @@ bool Staff::IsMechanicHeadingToFixRideBlockingPath()
if (ride == nullptr)
return false;
return ride->id == CurrentRide && ride->breakdown_reason == BREAKDOWN_SAFETY_CUT_OUT;
return ride->id == CurrentRide;
}
/**
+1 -1
View File
@@ -43,7 +43,7 @@
// It is used for making sure only compatible builds get connected, even within
// single OpenRCT2 version.
#define NETWORK_STREAM_VERSION "2"
#define NETWORK_STREAM_VERSION "3"
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION