From 27ac5ab75d361e2933172b6ec1c08b6e7076d1f3 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 24 Feb 2013 19:16:06 -0500 Subject: you never saw that ... diff --git a/src/game/ToolButton.cpp b/src/game/ToolButton.cpp index c19f0c6..70b93a2 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) -- cgit v0.9.2-21-gd62e