Procházet zdrojové kódy

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

Samuel Batista před 11 roky
rodič
revize
c573adb829
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();
 }