diff options
| author | jacob1 <jfu614@gmail.com> | 2013-02-25 00:16:06 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-02-25 00:16:06 (GMT) |
| commit | 27ac5ab75d361e2933172b6ec1c08b6e7076d1f3 (patch) | |
| tree | f1f60c462fd37879e93b47771b602ceddd413f67 /src/game/ToolButton.cpp | |
| parent | fbf52794e59ede9be4362a8816e0682e41dcf414 (diff) | |
| download | powder-27ac5ab75d361e2933172b6ec1c08b6e7076d1f3.zip powder-27ac5ab75d361e2933172b6ec1c08b6e7076d1f3.tar.gz | |
you never saw that ...
Diffstat (limited to 'src/game/ToolButton.cpp')
| -rw-r--r-- | src/game/ToolButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
