summaryrefslogtreecommitdiff
path: root/src/client/joystick_controller.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2018-05-14 07:42:20 +0200
committerSmallJoker <mk939@ymail.com>2018-06-03 17:32:00 +0200
commit695d02e6bda939f7b00af402273b39a8fd75a203 (patch)
tree30e075240af7397fd933852e20f812417bb93b45 /src/client/joystick_controller.h
parente2815d27f16f20c503c34b9a0ab4f917dcab639b (diff)
downloadminetest-695d02e6bda939f7b00af402273b39a8fd75a203.tar.gz
minetest-695d02e6bda939f7b00af402273b39a8fd75a203.tar.bz2
minetest-695d02e6bda939f7b00af402273b39a8fd75a203.zip
More C++03 fixes
Diffstat (limited to 'src/client/joystick_controller.h')
-rw-r--r--src/client/joystick_controller.h2
1 files changed, 2 insertions, 0 deletions
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;