aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/draw.cpp')
-rw-r--r--engines/agos/draw.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp
index 5b5b42cbbb..45c6d4a6da 100644
--- a/engines/agos/draw.cpp
+++ b/engines/agos/draw.cpp
@@ -306,6 +306,11 @@ void AGOSEngine::dirtyClips() {
}
void AGOSEngine::restoreBackGround() {
+ if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAtariST &&
+ (getFeatures() & GF_DEMO)) {
+ return;
+ }
+
AnimTable *animTable;
uint images = 0;
@@ -361,6 +366,11 @@ void AGOSEngine::restoreBackGround() {
}
void AGOSEngine::saveBackGround(VgaSprite *vsp) {
+ if (getGameType() == GType_ELVIRA1 && getPlatform() == Common::kPlatformAtariST &&
+ (getFeatures() & GF_DEMO)) {
+ return;
+ }
+
if ((vsp->flags & kDFSkipStoreBG) || !vsp->image)
return;