summaryrefslogtreecommitdiff
path: root/src/gui/game/GameController.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-08 04:23:06 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-08 04:23:06 (GMT)
commita1f9da2d0cedd4733102f1c1831cab5b51955ac2 (patch)
treeef63821023901cb401b7f97fe0a54872c4d5275d /src/gui/game/GameController.h
parent69961956bfae1529e6c451c57804b0d2aa93f422 (diff)
downloadpowder-a1f9da2d0cedd4733102f1c1831cab5b51955ac2.zip
powder-a1f9da2d0cedd4733102f1c1831cab5b51955ac2.tar.gz
fix tpt.selectedl not changing sometimes when using the element search or sample tool. Assume that new saves will get the auto-vote, so set that too.
Diffstat (limited to 'src/gui/game/GameController.h')
-rw-r--r--src/gui/game/GameController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/game/GameController.h b/src/gui/game/GameController.h
index 32755df..09a3713 100644
--- a/src/gui/game/GameController.h
+++ b/src/gui/game/GameController.h
@@ -100,6 +100,7 @@ public:
bool GetDebugHUD();
void SetActiveMenu(int menuID);
std::vector<Menu*> GetMenuList();
+ Tool * GetActiveTool(int selection);
void SetActiveTool(int toolSelection, Tool * tool);
void ActiveToolChanged(int toolSelection, Tool *tool);
void SetActiveColourPreset(int preset);