1
0
Fork 0

Fix: Road stop availability callback

pull/12931/head
Jonathan G Rennison 2024-09-06 02:55:14 +01:00
parent c1f8569587
commit 724f1929f2
1 changed files with 1 additions and 1 deletions

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;