diff options
author | Le Philousophe | 2019-05-31 23:01:42 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-06-01 22:43:48 +0200 |
commit | f25102ac76ffe7f5f2196f5fa260cfb9eb26e2c2 (patch) | |
tree | c8c9240049adbf58b6e032b7dfc0a4a2692565c9 /engines/cryomni3d/versailles/logic.cpp | |
parent | e07844e06b56c3d299c5c7f88c5910dd0c882f3c (diff) | |
download | scummvm-rg350-f25102ac76ffe7f5f2196f5fa260cfb9eb26e2c2.tar.gz scummvm-rg350-f25102ac76ffe7f5f2196f5fa260cfb9eb26e2c2.tar.bz2 scummvm-rg350-f25102ac76ffe7f5f2196f5fa260cfb9eb26e2c2.zip |
CRYOMNI3D: Put delayMillis out of pollEvents
This let's improve reaction times
Diffstat (limited to 'engines/cryomni3d/versailles/logic.cpp')
-rw-r--r-- | engines/cryomni3d/versailles/logic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cryomni3d/versailles/logic.cpp b/engines/cryomni3d/versailles/logic.cpp index d39d531f64..02592ee871 100644 --- a/engines/cryomni3d/versailles/logic.cpp +++ b/engines/cryomni3d/versailles/logic.cpp @@ -3165,6 +3165,7 @@ FILTER_EVENT(1, 3) { if (*event == 11301) { while (!g_engine->shouldQuit() && _mixer->isSoundIDActive(SoundIds::kLeb001)) { g_system->updateScreen(); + g_system->delayMillis(10); pollEvents(); } clearKeys(); |