Browse Source

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

Samuel Batista 11 years ago
parent
commit
c573adb829
1 changed files with 1 additions and 1 deletions
  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();
 }