skypjack 5 дней назад
Родитель
Сommit
32b0a4da53
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      testbed/component/input_listener_component.h

+ 2 - 1
testbed/component/input_listener_component.h

@@ -4,13 +4,14 @@ namespace testbed {
 
 struct input_listener_component {
     enum class type {
+        NONE,
         UP,
         DOWN,
         LEFT,
         RIGHT
     };
 
-    type command;
+    type command{type::NONE};
 };
 
 } // namespace testbed