Add a change counter value special order type

This commit is contained in:
Jonathan G Rennison
2022-10-13 20:09:20 +01:00
parent 7167175aa5
commit 38c2fa3b66
11 changed files with 302 additions and 28 deletions

View File

@@ -686,8 +686,8 @@ std::vector<TimetableProgress> PopulateSeparationState(const Vehicle *v_start)
// Do not try to separate vehicles on depot service or halt orders
separation_valid = false;
}
if (order->IsType(OT_RELEASE_SLOT)) {
// Do not try to separate vehicles on release slot orders
if (order->IsType(OT_RELEASE_SLOT) || order->IsType(OT_COUNTER)) {
// Do not try to separate vehicles on release slot or change counter orders
separation_valid = false;
}
int order_ticks;