1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 08:29:11 +00:00

Fix: Road stop availability callback (#12931)

This commit is contained in:
Jonathan G Rennison
2024-09-07 14:57:04 +01:00
committed by GitHub
parent d5ff6b4156
commit 5c243ee8f0

View File

@@ -101,7 +101,7 @@ static bool IsRoadStopEverAvailable(const RoadStopSpec *spec, StationType type)
static bool IsRoadStopAvailable(const RoadStopSpec *spec, StationType type)
{
if (spec == nullptr) return true;
if (IsRoadStopEverAvailable(spec, type)) return true;
if (!IsRoadStopEverAvailable(spec, type)) return false;
if (!HasBit(spec->callback_mask, CBM_ROAD_STOP_AVAIL)) return true;