aboutsummaryrefslogtreecommitdiff
path: root/scumm/scummvm.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-17 00:37:53 +0000
committerMax Horn2003-05-17 00:37:53 +0000
commit6ed1d415b5da1830ead0fa91760751b78893628a (patch)
tree68ea1efef383986335235aafae825506a4be66b5 /scumm/scummvm.cpp
parent58ab6d50395b8f31ba29b452593b21d80435f95a (diff)
downloadscummvm-rg350-6ed1d415b5da1830ead0fa91760751b78893628a.tar.gz
scummvm-rg350-6ed1d415b5da1830ead0fa91760751b78893628a.tar.bz2
scummvm-rg350-6ed1d415b5da1830ead0fa91760751b78893628a.zip
for v2 games, make space the pause key
svn-id: r7590
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r--scumm/scummvm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 15a007b24b..2de0097222 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1748,7 +1748,8 @@ void Scumm::processKbd() {
return;
}
- if (VAR_PAUSE_KEY != 0xFF && _lastKeyHit == VAR(VAR_PAUSE_KEY)) {
+ if ((VAR_PAUSE_KEY != 0xFF && _lastKeyHit == VAR(VAR_PAUSE_KEY)) ||
+ (VAR_PAUSE_KEY == 0xFF && _lastKeyHit == ' ')) {
pauseGame(true);
/* pause */
return;