From 5ac76b5c5256f15f0f1b41d6c209139147a4d2e4 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 6 Dec 2012 08:02:30 +0100 Subject: HOPKINS: Remove useless tests in CENSURE() --- engines/hopkins/files.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'engines') diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp index a5d193fda7..fbbac191c2 100644 --- a/engines/hopkins/files.cpp +++ b/engines/hopkins/files.cpp @@ -115,11 +115,7 @@ void FileManager::F_Censure() { CONSTRUIT_SYSTEM("BLOOD.DAT"); char *data = (char *)CHARGE_FICHIER(_vm->_globals.NFICHIER); - - if (*(data + 6) == 'f' && *(data + 7) == 'r') - _vm->_globals.CENSURE = false; - if (*(data + 6) == 'F' && *(data + 7) == 'R') - _vm->_globals.CENSURE = false; + if (*(data + 6) == 'u' && *(data + 7) == 'k') _vm->_globals.CENSURE = true; if (*(data + 6) == 'U' && *(data + 7) == 'K') -- cgit v1.2.3