probably fix compiling error

This commit is contained in:
jacob1 2013-01-15 10:30:13 -05:00
parent 76349ddbd4
commit 8723bbc63c

View File

@ -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)
{ {