diff options
author | Paul Gilbert | 2017-07-16 15:05:56 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-16 15:05:56 -0400 |
commit | 6c44b5762e6fa009c548f5dacdb422ccde958724 (patch) | |
tree | 6d34ebe056034bc4f8721da8b2a533ce3918b66a /engines/titanic/game/auto_animate.cpp | |
parent | 56384fb7dbd40627b26dc849c792b1af2f972973 (diff) | |
download | scummvm-rg350-6c44b5762e6fa009c548f5dacdb422ccde958724.tar.gz scummvm-rg350-6c44b5762e6fa009c548f5dacdb422ccde958724.tar.bz2 scummvm-rg350-6c44b5762e6fa009c548f5dacdb422ccde958724.zip |
TITANIC: Cleanup of CAutoAnimate class
Diffstat (limited to 'engines/titanic/game/auto_animate.cpp')
-rw-r--r-- | engines/titanic/game/auto_animate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/auto_animate.cpp b/engines/titanic/game/auto_animate.cpp index 16e6e56747..1256ecbc26 100644 --- a/engines/titanic/game/auto_animate.cpp +++ b/engines/titanic/game/auto_animate.cpp @@ -32,7 +32,7 @@ END_MESSAGE_MAP() void CAutoAnimate::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_enabled, indent); - file->writeNumberLine(_fieldE4, indent); + file->writeNumberLine(_redo, indent); file->writeNumberLine(_repeat, indent); CBackground::save(file, indent); } @@ -40,7 +40,7 @@ void CAutoAnimate::save(SimpleFile *file, int indent) { void CAutoAnimate::load(SimpleFile *file) { file->readNumber(); _enabled = file->readNumber(); - _fieldE4 = file->readNumber(); + _redo = file->readNumber(); _repeat = file->readNumber(); CBackground::load(file); } @@ -53,7 +53,7 @@ bool CAutoAnimate::EnterViewMsg(CEnterViewMsg *msg) { else playMovie(flags); - if (!_fieldE4) + if (!_redo) _enabled = false; } |