diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-05-14 07:42:20 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:32:00 +0200 |
commit | 695d02e6bda939f7b00af402273b39a8fd75a203 (patch) | |
tree | 30e075240af7397fd933852e20f812417bb93b45 /src/client | |
parent | e2815d27f16f20c503c34b9a0ab4f917dcab639b (diff) | |
download | minetest-695d02e6bda939f7b00af402273b39a8fd75a203.tar.gz minetest-695d02e6bda939f7b00af402273b39a8fd75a203.tar.bz2 minetest-695d02e6bda939f7b00af402273b39a8fd75a203.zip |
More C++03 fixes
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/clientlauncher.h | 2 | ||||
-rw-r--r-- | src/client/joystick_controller.h | 2 |
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; |