summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-10-01 11:07:02 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-01 11:07:02 (GMT)
commit7568e082dd2e53c6acfe6cf569fc2f8d97c9b734 (patch)
treedddef65172a42703f8e63b6ba89a1e646235f175 /src/game/GameView.cpp
parent0801497ed202fe4cf827f22ffc542202aac70bb2 (diff)
downloadpowder-7568e082dd2e53c6acfe6cf569fc2f8d97c9b734.zip
powder-7568e082dd2e53c6acfe6cf569fc2f8d97c9b734.tar.gz
Allow pausing when using stamp placement/selection
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index d952d5f..56f90e3 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1180,7 +1180,8 @@ void GameView::OnKeyPress(int key, Uint16 character, bool shift, bool ctrl, bool
break;
}
}
- return;
+ if(key != ' ')
+ return;
}
switch(key)
{