WINTERMUTE: Added override keyword

This commit is contained in:
Eugene Sandulenko 2020-04-24 01:41:22 +02:00
parent 2a5f16faac
commit 786af20bc7

View File

@ -215,13 +215,13 @@ public:
return retVal; return retVal;
} }
Common::KeymapArray initKeymaps(const char *target) const { Common::KeymapArray initKeymaps(const char *target) const override {
using namespace Common; using namespace Common;
Keymap *engineKeyMap = new Keymap(Keymap::kKeymapTypeGame, "wintermute", "Wintermute engine"); Keymap *engineKeyMap = new Keymap(Keymap::kKeymapTypeGame, "wintermute", "Wintermute engine");
Action *act; Action *act;
act = new Action("LCLK", _("Left Click")); act = new Action("LCLK", _("Left Click"));
act->setLeftClickEvent(); act->setLeftClickEvent();
act->addDefaultInputMapping("MOUSE_LEFT"); // original mouse act->addDefaultInputMapping("MOUSE_LEFT"); // original mouse