Parcourir la source

Fixing compile error related to missing return value from input.cpp

Samuel Batista il y a 11 ans
Parent
commit
c573adb829
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/os/input.cpp

+ 1 - 1
core/os/input.cpp

@@ -283,7 +283,7 @@ Point2 InputDefault::get_mouse_speed() const {
 
 int InputDefault::get_mouse_button_mask() const {
 
-	OS::get_singleton()->get_mouse_button_state();
+	return OS::get_singleton()->get_mouse_button_state();
 }