diff options
author | Max Horn | 2007-06-22 21:10:57 +0000 |
---|---|---|
committer | Max Horn | 2007-06-22 21:10:57 +0000 |
commit | 54d668ac13f57d8acf5d8e627a5daeaa8166ecb3 (patch) | |
tree | ff16ba9d667c29b9f24286a7f27d2beab845936b /engines/kyra | |
parent | e8a4d396fe08cde375c9193a4dbb8847f663e774 (diff) | |
download | scummvm-rg350-54d668ac13f57d8acf5d8e627a5daeaa8166ecb3.tar.gz scummvm-rg350-54d668ac13f57d8acf5d8e627a5daeaa8166ecb3.tar.bz2 scummvm-rg350-54d668ac13f57d8acf5d8e627a5daeaa8166ecb3.zip |
Changed more code to use Common::KEYCODE_ enum
svn-id: r27624
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/kyra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp index 197182e8f3..7e4f5103e7 100644 --- a/engines/kyra/kyra.cpp +++ b/engines/kyra/kyra.cpp @@ -617,7 +617,7 @@ void KyraEngine::delay(uint32 amount, bool update, bool isMainLoop) { _quitFlag = true; } else if (event.kbd.keycode == '.') _skipFlag = true; - else if (event.kbd.keycode == 13 || event.kbd.keycode == 32 || event.kbd.keycode == 27) { + else if (event.kbd.keycode == Common::KEYCODE_RETURN || event.kbd.keycode == Common::KEYCODE_SPACE || event.kbd.keycode == Common::KEYCODE_ESC) { _abortIntroFlag = true; _skipFlag = true; } |