diff options
author | D G Turner | 2012-11-29 01:39:08 +0000 |
---|---|---|
committer | D G Turner | 2012-11-29 01:39:08 +0000 |
commit | bcee44793fe1444bb08fa15e057ee254acae6bb4 (patch) | |
tree | 16bc369d71bc92a44e5493d1921471873e4c1dd9 /engines/dreamweb/people.cpp | |
parent | 6d4b0a2c9f422d4c3fd51e7c68644c16ddd805d4 (diff) | |
download | scummvm-rg350-bcee44793fe1444bb08fa15e057ee254acae6bb4.tar.gz scummvm-rg350-bcee44793fe1444bb08fa15e057ee254acae6bb4.tar.bz2 scummvm-rg350-bcee44793fe1444bb08fa15e057ee254acae6bb4.zip |
DREAMWEB: Simplify _lastHardKey usage and migrate to Common::KeyCode.
This improves readability and should help with dealing with changes
to fix bug #3590814 ("DREAMWEB: M key does not work in Network").
Diffstat (limited to 'engines/dreamweb/people.cpp')
-rw-r--r-- | engines/dreamweb/people.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp index dbb81406cd..53f04d482b 100644 --- a/engines/dreamweb/people.cpp +++ b/engines/dreamweb/people.cpp @@ -194,7 +194,7 @@ void DreamWebEngine::madman(ReelRoutine &routine) { if (newReelPointer == 66) { ++_vars._combatCount; - if (_lastHardKey == 1) // ESC pressed, skip the mad man's speech + if (_lastHardKey == Common::KEYCODE_ESCAPE) // ESC pressed, skip the mad man's speech _vars._combatCount = _speechCount = (hasSpeech() ? 65 : 63); madmanText(); |