aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/star_control/star_view.cpp3
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 689020342e..c98fb42f42 100644
--- a/engines/titanic/star_control/star_view.cpp
+++ b/engines/titanic/star_control/star_view.cpp
@@ -87,7 +87,8 @@ void CStarView::draw(CScreenManager *screenManager) {
Point destPos(20, 10);
if (_showingPhoto) {
- screenManager->blitFrom(SURFACE_PRIMARY, _photoSurface, &destPos);
+ if (_photoSurface)
+ screenManager->blitFrom(SURFACE_PRIMARY, _photoSurface, &destPos);
if (!_homePhotoMask && _owner) {
_homePhotoMask = _owner->getHiddenObject("HomePhotoMask");