aboutsummaryrefslogtreecommitdiffstats
path: root/planning/planning.cpp
diff options
context:
space:
mode:
authorHåkon Solbjørg <hakon@solbj.org>2023-04-02 11:35:30 +0200
committerHåkon Solbjørg <hakon@solbj.org>2023-04-02 11:50:42 +0200
commitd701d553476fd2a297266b983f477db9068654d0 (patch)
tree0ac8f6521db287d615a179aee5f8f81a8885568a /planning/planning.cpp
parent042390d5ef81a12bd9af8542b6ca4bc941ea392e (diff)
remove extra row
Diffstat (limited to 'planning/planning.cpp')
-rw-r--r--planning/planning.cpp9
1 files changed, 8 insertions, 1 deletions
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));