Commit a4580238 authored by Chen Bill's avatar Chen Bill Committed by GitHub

use override in ClientField, MenuHandler (#2665)

parent 37cb3cea
......@@ -144,8 +144,8 @@ public:
ClientCard* menu_card{ nullptr };
int list_command{ 0 };
virtual bool OnEvent(const irr::SEvent& event);
virtual bool OnCommonEvent(const irr::SEvent& event);
bool OnEvent(const irr::SEvent& event) override;
bool OnCommonEvent(const irr::SEvent& event);
void GetHoverField(int x, int y);
void ShowMenu(int flag, int x, int y);
void HideMenu();
......
......@@ -7,7 +7,7 @@ namespace ygo {
class MenuHandler: public irr::IEventReceiver {
public:
virtual bool OnEvent(const irr::SEvent& event);
bool OnEvent(const irr::SEvent& event) override;
s32 prev_operation;
int prev_sel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment