aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga_ww.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/vga_ww.cpp')
-rw-r--r--engines/agos/vga_ww.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/agos/vga_ww.cpp b/engines/agos/vga_ww.cpp
index a14129cc72..cd39e2dc8a 100644
--- a/engines/agos/vga_ww.cpp
+++ b/engines/agos/vga_ww.cpp
@@ -234,13 +234,11 @@ void AGOSEngine::vc62_fastFadeOut() {
delay(5);
}
- if (getGameType() == GType_FF || getGameType() == GType_PP) {
- clearSurfaces(_screenHeight);
- } else if (getGameType() == GType_WW) {
- _system->clearScreen();
+ if (getGameType() == GType_WW || getGameType() == GType_FF || getGameType() == GType_PP) {
+ clearSurfaces();
} else {
if (_windowNum != 4) {
- _system->clearScreen();
+ clearSurfaces();
}
}
}