aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJames Brown2003-01-16 13:10:43 +0000
committerJames Brown2003-01-16 13:10:43 +0000
commit355d079a30e8e2ed2d03ad7c8f6df5d8605c2bcf (patch)
tree8e7cae4a31caeada284448f151d9b22fafdc6f20 /scumm
parentc24c1270f65f655ccc409950aff1c521f9bb8785 (diff)
downloadscummvm-rg350-355d079a30e8e2ed2d03ad7c8f6df5d8605c2bcf.tar.gz
scummvm-rg350-355d079a30e8e2ed2d03ad7c8f6df5d8605c2bcf.tar.bz2
scummvm-rg350-355d079a30e8e2ed2d03ad7c8f6df5d8605c2bcf.zip
Dumb, dumb, DUMB typo. :)
svn-id: r6481
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 28fd3c2f8f..e3c8b33a72 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1146,7 +1146,7 @@ void Scumm::processKbd()
if (!_lastKeyHit)
return;
- if (keyScriptNo && (keyScriptKey = _lastKeyHit)) {
+ if (keyScriptNo && (keyScriptKey == _lastKeyHit)) {
runScript(keyScriptNo, 0, 0, 0);
return;
}