aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/input.cpp
diff options
context:
space:
mode:
authorGregory Montoir2007-04-02 18:59:00 +0000
committerGregory Montoir2007-04-02 18:59:00 +0000
commit20ec8d2d343bbeea79b939c185fc2ed0772500bb (patch)
tree9704756a10ddf76a02a5aafd8377220c794046b8 /engines/queen/input.cpp
parent47f5e30857b6baca1f31b0aefc931b8013bb62a9 (diff)
downloadscummvm-rg350-20ec8d2d343bbeea79b939c185fc2ed0772500bb.tar.gz
scummvm-rg350-20ec8d2d343bbeea79b939c185fc2ed0772500bb.tar.bz2
scummvm-rg350-20ec8d2d343bbeea79b939c185fc2ed0772500bb.zip
This should make the game match the original DOS version speed.
svn-id: r26371
Diffstat (limited to 'engines/queen/input.cpp')
-rw-r--r--engines/queen/input.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/queen/input.cpp b/engines/queen/input.cpp
index 02573d4d3e..0b58c46036 100644
--- a/engines/queen/input.cpp
+++ b/engines/queen/input.cpp
@@ -81,11 +81,10 @@ Input::Input(Common::Language language, OSystem *system) :
}
}
-void Input::delay() {
- delay(_fastMode ? DELAY_SHORT : DELAY_NORMAL);
-}
-
void Input::delay(uint amount) {
+ if (_fastMode && amount > DELAY_SHORT) {
+ amount = DELAY_SHORT;
+ }
if (_idleTime < DELAY_SCREEN_BLANKER) {
_idleTime += amount;
}