diff options
author | Johannes Schickel | 2016-02-09 19:52:03 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-02-09 19:52:09 +0100 |
commit | 82b5ed65ccfa1dba63492809737d493dd4a3d70b (patch) | |
tree | eeb16a37213a47f16411953fc825d5740f6f4325 /engines/sci | |
parent | 78905e0ab65a1c8957686fde613dd9f3038577ac (diff) | |
download | scummvm-rg350-82b5ed65ccfa1dba63492809737d493dd4a3d70b.tar.gz scummvm-rg350-82b5ed65ccfa1dba63492809737d493dd4a3d70b.tar.bz2 scummvm-rg350-82b5ed65ccfa1dba63492809737d493dd4a3d70b.zip |
SCI: Small variable renaming to match our naming guidelines.
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/event.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index 7fa3f3c25c..126c6f2d56 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -364,17 +364,17 @@ SciEvent EventManager::getSciEvent(unsigned int mask) { void SciEngine::sleep(uint32 msecs) { uint32 time; - const uint32 wakeup_time = g_system->getMillis() + msecs; + const uint32 wakeUpTime = g_system->getMillis() + msecs; while (true) { // let backend process events and update the screen _eventMan->getSciEvent(SCI_EVENT_PEEK); time = g_system->getMillis(); - if (time + 10 < wakeup_time) { + if (time + 10 < wakeUpTime) { g_system->delayMillis(10); } else { - if (time < wakeup_time) - g_system->delayMillis(wakeup_time - time); + if (time < wakeUpTime) + g_system->delayMillis(wakeUpTime - time); break; } |