aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/voyeur/files.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp
index 9373ecfb5f..750071aaea 100644
--- a/engines/voyeur/files.cpp
+++ b/engines/voyeur/files.cpp
@@ -317,11 +317,12 @@ PictureResource *BoltFile::getPictureResource(uint32 id) {
}
CMapResource *BoltFile::getCMapResource(uint32 id) {
- if ((int32)id == -1)
+ if ((int32)id == -1)
return NULL;
if (id & 0xffff)
id <<= 16;
+
return getBoltEntryFromLong(id)._cMapResource;
}
@@ -370,11 +371,10 @@ void BoltFile::resolveIt(uint32 id, byte **p) {
}
void BoltFile::resolveFunction(uint32 id, GraphicMethodPtr *fn) {
- if ((int32)id == -1) {
+ if ((int32)id == -1)
*fn = NULL;
- } else {
+ else
error("Function fnTermGro array not supported");
- }
}
/**