From b4b61beeec86e798ee99a3298ff2fc44d2a68998 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 30 Jan 2024 18:31:44 +0000 Subject: [PATCH] Fix slot acquire on PBS reservation end on tunnel/bridge entrance signals --- src/pbs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pbs.cpp b/src/pbs.cpp index 970b45cbda..1b97089b0f 100644 --- a/src/pbs.cpp +++ b/src/pbs.cpp @@ -1541,7 +1541,7 @@ void PBSWaitingPositionRestrictedSignalState::TraceRestrictExecuteResEndSlotIntl TraceRestrictProgramResult out; TraceRestrictProgramInput input(this->tile, this->trackdir, &VehiclePosTraceRestrictPreviousSignalCallback, nullptr); input.permitted_slot_operations = TRPISP_PBS_RES_END_ACQUIRE; - if (tb_entrance_slots) input.permitted_slot_operations = TRPISP_ACQUIRE; + if (tb_entrance_slots) input.permitted_slot_operations |= TRPISP_ACQUIRE; prog->Execute(v, input, out); } }