aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-12-24 13:45:29 +0100
committerStrangerke2012-12-24 13:45:29 +0100
commit9333f6628a71fd24c82832aa629fa02ab8b11d07 (patch)
treedbe07fdf93bc8c1d8219640b09164505ace4f8b5
parent4ab60c43c0834d568b7c21ed9b45a2beab9e5815 (diff)
downloadscummvm-rg350-9333f6628a71fd24c82832aa629fa02ab8b11d07.tar.gz
scummvm-rg350-9333f6628a71fd24c82832aa629fa02ab8b11d07.tar.bz2
scummvm-rg350-9333f6628a71fd24c82832aa629fa02ab8b11d07.zip
HOPKINS: Fix very old bug in traduction2
-rw-r--r--engines/hopkins/script.cpp2
1 files changed, 1 insertions, 1 deletions
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')