aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 90e014b28a..f82ba23cca 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -1542,7 +1542,7 @@ void AGOSEngine::setWindowImageEx(uint16 mode, uint16 vga_res) {
_variableArray[293] = 0;
_wallOn = 0;
}
- } else if (getGameType() == GType_ELVIRA1) {
+ } else if (getGameType() == GType_ELVIRA2) {
if (_variableArray[70] == 0) {
_variableArray[71] = 0;
_wallOn = 0;