probably fix compiling error
This commit is contained in:
parent
76349ddbd4
commit
8723bbc63c
@ -452,13 +452,15 @@ class GameView::MenuAction: public ui::ButtonAction
|
|||||||
GameView * v;
|
GameView * v;
|
||||||
public:
|
public:
|
||||||
Menu * menu;
|
Menu * menu;
|
||||||
bool needsClick = false;
|
bool needsClick;
|
||||||
MenuAction(GameView * _v, Menu * menu_)
|
MenuAction(GameView * _v, Menu * menu_)
|
||||||
{
|
{
|
||||||
v = _v;
|
v = _v;
|
||||||
menu = menu_;
|
menu = menu_;
|
||||||
if (v->c->GetMenuList()[SC_DECO] == menu)
|
if (v->c->GetMenuList()[SC_DECO] == menu)
|
||||||
needsClick = true;
|
needsClick = true;
|
||||||
|
else
|
||||||
|
needsClick = false;
|
||||||
}
|
}
|
||||||
void MouseEnterCallback(ui::Button * sender)
|
void MouseEnterCallback(ui::Button * sender)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user