Fix slot acquire on PBS reservation end on tunnel/bridge entrance signals

This commit is contained in:
Jonathan G Rennison 2024-01-30 18:31:44 +00:00
parent 3835500c9a
commit b4b61beeec

View File

@ -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);
}
}