aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/res_ami.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/res_ami.cpp')
-rw-r--r--engines/agos/res_ami.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/res_ami.cpp b/engines/agos/res_ami.cpp
index f86d0344f5..ecfef7a3a0 100644
--- a/engines/agos/res_ami.cpp
+++ b/engines/agos/res_ami.cpp
@@ -146,7 +146,7 @@ byte *AGOSEngine::convertImage(VC10_state *state, bool compressed) {
uint8 colorDepth = 4;
if (getGameType() == GType_SIMON1) {
- if (((_lockWord & 0x20) && !state->palette) || ((getFeatures() & GF_32COLOR) &&
+ if (((_videoLockOut & 0x20) && !state->palette) || ((getFeatures() & GF_32COLOR) &&
state->palette != 0xC0)) {
colorDepth = 5;
}