TITANIC: Add missing state reset in CStarView fn18

This commit is contained in:
Paul Gilbert
2017-03-28 22:02:54 -04:00
parent ef66debb7d
commit b2cddceae6
+2 -1
View File
@@ -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);
}