From 27ac5ab75d361e2933172b6ec1c08b6e7076d1f3 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 24 Feb 2013 19:16:06 -0500 Subject: [PATCH] you never saw that ... --- src/game/ToolButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/ToolButton.cpp b/src/game/ToolButton.cpp index c19f0c6df..70b93a2e2 100644 --- a/src/game/ToolButton.cpp +++ b/src/game/ToolButton.cpp @@ -22,9 +22,9 @@ void ToolButton::OnMouseClick(int x, int y, unsigned int button) void ToolButton::OnMouseUnclick(int x, int y, unsigned int button) { - isButtonDown = false; if(isButtonDown) { + isButtonDown = false; if(button == BUTTON_LEFT) SetSelectionState(0); if(button == BUTTON_RIGHT)