diff options
author | Paul Gilbert | 2012-10-13 15:23:29 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-10-13 15:23:29 +1100 |
commit | f2556a4caa517849e66e0f42f2da081d485a5f9b (patch) | |
tree | 81c352cb30704fae0abc45f2273e6f020115a0a6 /engines | |
parent | ba6d36a02350dfe679c4225562d4128cf2586e89 (diff) | |
download | scummvm-rg350-f2556a4caa517849e66e0f42f2da081d485a5f9b.tar.gz scummvm-rg350-f2556a4caa517849e66e0f42f2da081d485a5f9b.tar.bz2 scummvm-rg350-f2556a4caa517849e66e0f42f2da081d485a5f9b.zip |
HOPKINS: Corrected some file exists calls
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/anim.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/globals.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp index 0c0924ef67..a7f63b6a19 100644 --- a/engines/hopkins/anim.cpp +++ b/engines/hopkins/anim.cpp @@ -853,7 +853,7 @@ int AnimationManager::CHARGE_BANK_SPRITE1(int idx, const Common::String &filenam _vm->_fileManager.CONSTRUIT_FICHIER(_vm->_globals.HOPANIM, ofsFilename); Common::File f; - if (!f.exists(_vm->_globals.NFICHIER)) { + if (f.exists(_vm->_globals.NFICHIER)) { v19 = _vm->_fileManager.CHARGE_FICHIER(_vm->_globals.NFICHIER); v13 = v19; diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index be70087cf7..0185b2bf1a 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -879,7 +879,7 @@ void Globals::CHARGE_CACHE(const Common::String &file) { _vm->_fileManager.CONSTRUIT_FICHIER(HOPLINK, v16); - if (!f.exists(NFICHIER)) { + if (f.exists(NFICHIER)) { spriteData = _vm->_fileManager.CHARGE_FICHIER(NFICHIER); CACHE_BANQUE[1] = spriteData; v15 = 60; |