From 9333f6628a71fd24c82832aa629fa02ab8b11d07 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 24 Dec 2012 13:45:29 +0100 Subject: HOPKINS: Fix very old bug in traduction2 --- engines/hopkins/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp index febc293016..9dba2ea849 100644 --- a/engines/hopkins/script.cpp +++ b/engines/hopkins/script.cpp @@ -2402,7 +2402,7 @@ int ScriptManager::Traduction2(const byte *dataP) { if (dataP[0] != 'F' || dataP[1] != 'C') { result = 0; } else { - if (*(dataP + 'T') == 84 && *(dataP + 3) == 'X' && *(dataP + 4) == 'T') + if (*(dataP + 2) == 'T' && *(dataP + 3) == 'X' && *(dataP + 4) == 'T') result = 1; if (*(dataP + 2) == 'B') { if (*(dataP + 3) == 'O' && *(dataP + 4) == 'B') -- cgit v1.2.3