diff options
author | Sylvain Dupont | 2011-02-05 13:12:42 +0000 |
---|---|---|
committer | Sylvain Dupont | 2011-02-05 13:12:42 +0000 |
commit | 69a88e315cd4e5cb2062b80c206b3ce5c965369a (patch) | |
tree | 1b1a77e50c613d5dbbb86da0e68d51ffa90fa144 | |
parent | 58884b1244e2ff88aeeec4d5f281c56ec9ba3139 (diff) | |
download | scummvm-rg350-69a88e315cd4e5cb2062b80c206b3ce5c965369a.tar.gz scummvm-rg350-69a88e315cd4e5cb2062b80c206b3ce5c965369a.tar.bz2 scummvm-rg350-69a88e315cd4e5cb2062b80c206b3ce5c965369a.zip |
TOON: Fix formatting issues
svn-id: r55787
-rw-r--r-- | engines/toon/toon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index a9b0d7aa5e..d7168c2843 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -421,8 +421,8 @@ void ToonEngine::render() { // add a little sleep here if needed. int32 newMillis = (int32)_system->getMillis(); - if(newMillis - _lastRenderTime < _tickLength) { - int32 sleepMs = _tickLength - ( _system->getMillis() - _lastRenderTime ); + if (newMillis - _lastRenderTime < _tickLength) { + int32 sleepMs = _tickLength - (newMillis - _lastRenderTime); assert(sleepMs >= 0); _system->delayMillis(sleepMs); } |