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:48:18 +0200
commitd476ae237bdb3f45f09f0527b758eeac224dc5ac (patch)
tree0ac8f6521db287d615a179aee5f8f81a8885568a /planning/planning.cpp
parentb11c6ad693340d06a753f30f0536445ed3ac0972 (diff)
remove extra rownew-planning
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));