From d476ae237bdb3f45f09f0527b758eeac224dc5ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Solbj=C3=B8rg?= Date: Sun, 2 Apr 2023 11:35:30 +0200 Subject: remove extra row --- planning/planning.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'planning/planning.cpp') diff --git a/planning/planning.cpp b/planning/planning.cpp index e698490..7cf1cf3 100644 --- a/planning/planning.cpp +++ b/planning/planning.cpp @@ -372,7 +372,14 @@ void Planner::init_switches() //switches.push_back(Switch(i, 3)); } - if (i >= 21 && i <= 36) { + if (i >= 21 && i <= 28) { + switches.push_back(Switch(i, 0)); + switches.push_back(Switch(i, 1)); + switches.push_back(Switch(i, 2)); + switches.push_back(Switch(i, 3)); + } + + if (i >= 30 && i <= 36) { switches.push_back(Switch(i, 0)); switches.push_back(Switch(i, 1)); switches.push_back(Switch(i, 2)); -- cgit v1.2.3