aboutsummaryrefslogtreecommitdiff
path: root/src/input_common
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/drivers/mouse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/mouse.h b/src/input_common/drivers/mouse.h
index 2b93a40b9c..124b6f3bd5 100644
--- a/src/input_common/drivers/mouse.h
+++ b/src/input_common/drivers/mouse.h
@@ -108,7 +108,7 @@ private:
Common::Vec2<float> last_mouse_change;
Common::Vec3<float> last_motion_change;
Common::Vec2<int> wheel_position;
- bool button_pressed;
+ bool button_pressed = false;
std::jthread update_thread;
};