summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-14 15:07:50 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-14 15:07:50 (GMT)
commit70758cc70ef80632f6814c4fc4f9f13430bf8057 (patch)
tree2b9efd3e60381de82534ba4f119383e1f51dfbce /src/game/GameView.cpp
parent45b275be0db712a376df5820f2e9739145acb3bc (diff)
downloadpowder-70758cc70ef80632f6814c4fc4f9f13430bf8057.zip
powder-70758cc70ef80632f6814c4fc4f9f13430bf8057.tar.gz
Allow key releases when in stamp selecting/placement #104, #105
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 163c402..e73d509 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1348,10 +1348,6 @@ void GameView::OnKeyRelease(int key, Uint16 character, bool shift, bool ctrl, bo
if(colourRValue->IsFocused() || colourGValue->IsFocused() || colourBValue->IsFocused() || colourAValue->IsFocused())
return;
- if(selectMode!=SelectNone)
- {
- return;
- }
if(!isMouseDown)
drawMode = DrawPoints;
else