diff options
author | Einar Johan Trøan Sømåen | 2012-07-23 03:42:27 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-23 03:42:27 +0200 |
commit | c7eda9abc80d1912148cae4292b94620c67a9c19 (patch) | |
tree | b416c3ee3d2f2274b578a9bd8c8f3b01523cacc9 /engines/wintermute/video/video_theora_player.cpp | |
parent | aedb0aea505e764c4c7bab1f90520b380be4d688 (diff) | |
download | scummvm-rg350-c7eda9abc80d1912148cae4292b94620c67a9c19.tar.gz scummvm-rg350-c7eda9abc80d1912148cae4292b94620c67a9c19.tar.bz2 scummvm-rg350-c7eda9abc80d1912148cae4292b94620c67a9c19.zip |
WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r-- | engines/wintermute/video/video_theora_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp index 81e6769cfd..97fba01201 100644 --- a/engines/wintermute/video/video_theora_player.cpp +++ b/engines/wintermute/video/video_theora_player.cpp @@ -805,7 +805,7 @@ bool VideoTheoraPlayer::resume() { bool VideoTheoraPlayer::persist(BasePersistenceManager *persistMgr) { //BaseClass::persist(persistMgr); - if (persistMgr->_saving) { + if (persistMgr->getIsSaving()) { _savedPos = getMovieTime() * 1000; _savedState = _state; } else { @@ -824,7 +824,7 @@ bool VideoTheoraPlayer::persist(BasePersistenceManager *persistMgr) { persistMgr->transfer(TMEMBER(_looping)); persistMgr->transfer(TMEMBER(_volume)); - if (!persistMgr->_saving && (_savedState != THEORA_STATE_NONE)) { + if (!persistMgr->getIsSaving() && (_savedState != THEORA_STATE_NONE)) { initializeSimple(); } |