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;
public:
Menu * menu;
bool needsClick = false;
bool needsClick;
MenuAction(GameView * _v, Menu * menu_)
{
v = _v;
menu = menu_;
if (v->c->GetMenuList()[SC_DECO] == menu)
needsClick = true;
else
needsClick = false;
}
void MouseEnterCallback(ui::Button * sender)
{