diff options
-rw-r--r-- | scumm/scummvm.cpp | 2 |
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; } |