diff options
Diffstat (limited to 'engines/agi/global.cpp')
-rw-r--r-- | engines/agi/global.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/global.cpp b/engines/agi/global.cpp index 8c9d33e79c..502f58466b 100644 --- a/engines/agi/global.cpp +++ b/engines/agi/global.cpp @@ -64,7 +64,7 @@ void AgiEngine::decrypt(uint8 *mem, int len) { const uint8 *key; int i; - key = _opt.agdsMode ? (const uint8 *)CRYPT_KEY_AGDS + key = (getFeatures() & GF_AGDS) ? (const uint8 *)CRYPT_KEY_AGDS : (const uint8 *)CRYPT_KEY_SIERRA; for (i = 0; i < len; i++) |