mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
TITANIC: Add missing state reset in CStarView fn18
This commit is contained in:
1 parent
ef66debb7d
commit
b2cddceae6
1 file changed
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user