aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/files.cpp2
-rw-r--r--engines/hopkins/objects.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/files.cpp b/engines/hopkins/files.cpp
index 98cc34422e..13d30029ca 100644
--- a/engines/hopkins/files.cpp
+++ b/engines/hopkins/files.cpp
@@ -183,7 +183,7 @@ byte *FileManager::searchCat(const Common::String &file, CatMode mode) {
ptr = loadFile(tmpFilename);
break;
}
- // Deliberate fall-through to
+
default:
break;
}
diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp
index 227da29212..3ae8f9d770 100644
--- a/engines/hopkins/objects.cpp
+++ b/engines/hopkins/objects.cpp
@@ -3124,7 +3124,7 @@ void ObjectsManager::loadLinkFile(const Common::String &file, bool skipDetails)
if (!filename2.empty()) {
_hidingItemData[1] = _vm->_fileManager->searchCat(filename2, RES_SLI);
- if (_hidingItemData[1] || _hidingItemData[1] == g_PTRNUL) {
+ if (_hidingItemData[1]) {
_hidingItemData[1] = _vm->_fileManager->loadFile(filename2);
} else {
_hidingItemData[1] = _vm->_fileManager->loadFile("RES_SLI.RES");