mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
Fix slot acquire on PBS reservation end on tunnel/bridge entrance signals
This commit is contained in:
parent
3835500c9a
commit
b4b61beeec
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user