From 5de19ecb28d51ce4b7aa973ea643c73448751ef1 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 7 Feb 2009 03:36:36 +0000 Subject: Cleanup. svn-id: r36232 --- engines/agos/script_e2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/script_e2.cpp') 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; } -- cgit v1.2.3