1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

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
2023-04-02 17:57:59 +02:00
committed by GitHub
parent f8b30fbb36
commit de06f6026e
3 changed files with 3 additions and 2 deletions

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.

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;
}
/**

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