diff options
author | Travis Howell | 2009-02-07 03:36:36 +0000 |
---|---|---|
committer | Travis Howell | 2009-02-07 03:36:36 +0000 |
commit | 5de19ecb28d51ce4b7aa973ea643c73448751ef1 (patch) | |
tree | 7de8bb90d52d15cfd246027548aeb02693b8f19f /engines/agos/script_e2.cpp | |
parent | 3a4cc4b88d24bbe0133b7471f5314049059d230d (diff) | |
download | scummvm-rg350-5de19ecb28d51ce4b7aa973ea643c73448751ef1.tar.gz scummvm-rg350-5de19ecb28d51ce4b7aa973ea643c73448751ef1.tar.bz2 scummvm-rg350-5de19ecb28d51ce4b7aa973ea643c73448751ef1.zip |
Cleanup.
svn-id: r36232
Diffstat (limited to 'engines/agos/script_e2.cpp')
-rw-r--r-- | engines/agos/script_e2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/script_e2.cpp b/engines/agos/script_e2.cpp index 1b203a4e72..e5680abf7e 100644 --- a/engines/agos/script_e2.cpp +++ b/engines/agos/script_e2.cpp @@ -469,7 +469,7 @@ void AGOSEngine_Elvira2::oe2_bNotZero() { uint bit = getVarWrapper(); // WORKAROUND: Enable copy protection again, in cracked version. - if (getGameType() == GType_SIMON1 && _subroutine == 2962 && bit == 63) { + if (getGameType() == GType_SIMON1 && _currentTable && _currentTable->id == 2962 && bit == 63) { bit = 50; } |