diff options
author | Strangerke | 2012-12-06 08:02:30 +0100 |
---|---|---|
committer | Strangerke | 2012-12-06 08:02:30 +0100 |
commit | 5ac76b5c5256f15f0f1b41d6c209139147a4d2e4 (patch) | |
tree | d47b77a3caf16691d6a36e0b31fc6c6a68bbb96c /engines/hopkins/files.cpp | |
parent | a645f876c34501a088df0c945746e80ec1ac51fa (diff) | |
download | scummvm-rg350-5ac76b5c5256f15f0f1b41d6c209139147a4d2e4.tar.gz scummvm-rg350-5ac76b5c5256f15f0f1b41d6c209139147a4d2e4.tar.bz2 scummvm-rg350-5ac76b5c5256f15f0f1b41d6c209139147a4d2e4.zip |
HOPKINS: Remove useless tests in CENSURE()
Diffstat (limited to 'engines/hopkins/files.cpp')
-rw-r--r-- | engines/hopkins/files.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
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') |