summaryrefslogtreecommitdiff
path: root/src/client/joystick_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/joystick_controller.h')
-rw-r--r--src/client/joystick_controller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/joystick_controller.h b/src/client/joystick_controller.h
index 2c0e7b90a..baec4e412 100644
--- a/src/client/joystick_controller.h
+++ b/src/client/joystick_controller.h
@@ -155,7 +155,7 @@ private:
s16 m_axes_vals[JA_COUNT];
- u8 m_joystick_id;
+ u8 m_joystick_id = 0;
std::bitset<KeyType::INTERNAL_ENUM_COUNT> m_pressed_keys;