aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-02-17 21:37:37 +0100
committerStrangerke2014-02-17 21:37:37 +0100
commited681f49e3e356700eacc10666cada8369e19e0e (patch)
tree6708281e372e4cae4bebcbf7d7a7f408526bce77
parent4367ade8c7282c2d6401e8035940f7ce3c646f4b (diff)
downloadscummvm-rg350-ed681f49e3e356700eacc10666cada8369e19e0e.tar.gz
scummvm-rg350-ed681f49e3e356700eacc10666cada8369e19e0e.tar.bz2
scummvm-rg350-ed681f49e3e356700eacc10666cada8369e19e0e.zip
VOYEUR: Fix formatting
-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");
- }
}
/**