Explorar el Código

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

Samuel Batista hace 11 años
padre
commit
c573adb829
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
 }