diff options
author | Paul Gilbert | 2017-03-28 22:02:54 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-03-28 22:02:54 -0400 |
commit | b2cddceae69c677fcaaa3f1e447ff2bb05fd477a (patch) | |
tree | 30bedff70d1edf61aa661f979a7e36f0358d12de /engines | |
parent | ef66debb7d24b4465c59673b81024c40956dd1c3 (diff) | |
download | scummvm-rg350-b2cddceae69c677fcaaa3f1e447ff2bb05fd477a.tar.gz scummvm-rg350-b2cddceae69c677fcaaa3f1e447ff2bb05fd477a.tar.bz2 scummvm-rg350-b2cddceae69c677fcaaa3f1e447ff2bb05fd477a.zip |
TITANIC: Add missing state reset in CStarView fn18
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/star_view.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/star_control/star_view.cpp b/engines/titanic/star_control/star_view.cpp index 92a722d815..da4ea20327 100644 --- a/engines/titanic/star_control/star_view.cpp +++ b/engines/titanic/star_control/star_view.cpp @@ -424,13 +424,14 @@ void CStarView::fn18(CStarControlSub12 *sub12) { if (_videoSurface2) { int oldVal = _starField->get54(); - _starField->set4(false); + bool old4 = _starField->set4(false); _videoSurface2->clear(); _videoSurface2->lock(); _starField->render(_videoSurface2, sub12); _videoSurface2->unlock(); + _starField->set4(old4); _starField->set54(oldVal); _starField->fn6(_videoSurface2, sub12); } |