diff options
author | Gregory Montoir | 2004-08-14 22:33:13 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-08-14 22:33:13 +0000 |
commit | 5a6590ba7dcdc77f515fe98e83b9a2c03fcd864f (patch) | |
tree | 8a18351b06351b2711573e9d5bd790666c370131 /queen/input.cpp | |
parent | b45b82a4a385715cc84708fffdb0ec0452c78875 (diff) | |
download | scummvm-rg350-5a6590ba7dcdc77f515fe98e83b9a2c03fcd864f.tar.gz scummvm-rg350-5a6590ba7dcdc77f515fe98e83b9a2c03fcd864f.tar.bz2 scummvm-rg350-5a6590ba7dcdc77f515fe98e83b9a2c03fcd864f.zip |
minor cleanp
svn-id: r14616
Diffstat (limited to 'queen/input.cpp')
-rw-r--r-- | queen/input.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/queen/input.cpp b/queen/input.cpp index 7e43c1bff2..1b6c2bdd73 100644 --- a/queen/input.cpp +++ b/queen/input.cpp @@ -128,12 +128,10 @@ void Input::delay(uint amount) { if (amount == 0) break; - { - uint this_delay = 20; // 1? - if (this_delay > amount) - this_delay = amount; - _system->delay_msecs(this_delay); - } + uint this_delay = 20; // 1? + if (this_delay > amount) + this_delay = amount; + _system->delay_msecs(this_delay); cur = _system->get_msecs(); } while (cur < start + amount); } |