diff options
author | Einar Johan Trøan Sømåen | 2012-07-25 21:21:55 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-25 21:21:55 +0200 |
commit | 1ad859a468415cc7fd93adaa84beba02aae29ad8 (patch) | |
tree | d3b9cf40682b1bc4e29beca6a105cac85d1b30b2 /engines/wintermute/video/video_player.cpp | |
parent | fa96c9ea187cdb26e9f1ce048c9132f723e25df1 (diff) | |
download | scummvm-rg350-1ad859a468415cc7fd93adaa84beba02aae29ad8.tar.gz scummvm-rg350-1ad859a468415cc7fd93adaa84beba02aae29ad8.tar.bz2 scummvm-rg350-1ad859a468415cc7fd93adaa84beba02aae29ad8.zip |
WINTERMUTE: "if(" -> "if ("
Diffstat (limited to 'engines/wintermute/video/video_player.cpp')
-rw-r--r-- | engines/wintermute/video/video_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_player.cpp b/engines/wintermute/video/video_player.cpp index ac16104268..464cbec7ff 100644 --- a/engines/wintermute/video/video_player.cpp +++ b/engines/wintermute/video/video_player.cpp @@ -217,11 +217,11 @@ bool VideoPlayer::update() { DWORD CurrentTime; // current playing time (in ms) /* - if(m_SoundAvailable && m_Sound){ + if (m_SoundAvailable && m_Sound){ CurrentTime = m_Sound->GetPosition(); // in samples CurrentTime /= (m_Sound->m_Format.wf.nSamplesPerSec / 1000); - if(!m_Sound->IsPlaying()) CurrentTime = m_TotalVideoTime; + if (!m_Sound->IsPlaying()) CurrentTime = m_TotalVideoTime; } else CurrentTime = timeGetTime() - m_StartTime; |