From 695d02e6bda939f7b00af402273b39a8fd75a203 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Mon, 14 May 2018 07:42:20 +0200 Subject: More C++03 fixes --- src/client/clientlauncher.h | 2 +- src/client/joystick_controller.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client') 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; -- cgit v1.2.3