diff options
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r-- | engines/wintermute/video/VidTheoraPlayer.cpp | 4 | ||||
-rw-r--r-- | engines/wintermute/video/VidTheoraPlayer.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/VidTheoraPlayer.cpp b/engines/wintermute/video/VidTheoraPlayer.cpp index bcf4569737..c6447c7431 100644 --- a/engines/wintermute/video/VidTheoraPlayer.cpp +++ b/engines/wintermute/video/VidTheoraPlayer.cpp @@ -584,9 +584,9 @@ HRESULT CVidTheoraPlayer::update() { } ////////////////////////////////////////////////////////////////////////// -float CVidTheoraPlayer::getMovieTime() { +uint32 CVidTheoraPlayer::getMovieTime() { if (!_playbackStarted) { - return 0.0f; + return 0; } else { return _theoraDecoder->getTime(); } diff --git a/engines/wintermute/video/VidTheoraPlayer.h b/engines/wintermute/video/VidTheoraPlayer.h index a112377f91..437a72db67 100644 --- a/engines/wintermute/video/VidTheoraPlayer.h +++ b/engines/wintermute/video/VidTheoraPlayer.h @@ -84,7 +84,7 @@ public: return _state == THEORA_STATE_PAUSED; }; - float getMovieTime(); + uint32 getMovieTime(); uint32 getMovieFrame(); CBSurface *getTexture(); |