From 8723bbc63c4141c9318c4107a462bff562b4924f Mon Sep 17 00:00:00 2001 From: jacob1 Date: Tue, 15 Jan 2013 10:30:13 -0500 Subject: probably fix compiling error diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp index 82dd630..0708778 100644 --- a/src/game/GameView.cpp +++ b/src/game/GameView.cpp @@ -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) { -- cgit v0.9.2-21-gd62e