summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientlauncher.h2
-rw-r--r--src/client/joystick_controller.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client/clientlauncher.h b/src/client/clientlauncher.h
index 3d82b9cdc..4ff77bc03 100644
--- a/src/client/clientlauncher.h
+++ b/src/client/clientlauncher.h
@@ -81,7 +81,7 @@ protected:
scene::ISceneManager *smgr;
SubgameSpec gamespec;
WorldSpec worldspec;
- bool simple_singleplayer_mode = false;
+ bool simple_singleplayer_mode;
// These are set up based on the menu and other things
// TODO: Are these required since there's already playername, password, etc
diff --git a/src/client/joystick_controller.h b/src/client/joystick_controller.h
index ea1db684a..744315011 100644
--- a/src/client/joystick_controller.h
+++ b/src/client/joystick_controller.h
@@ -79,6 +79,8 @@ struct JoystickAxisCmb : public JoystickCombination {
this->key = key;
}
+ virtual ~JoystickAxisCmb() {}
+
virtual bool isTriggered(const irr::SEvent::SJoystickEvent &ev) const;
u16 axis_to_compare;