aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/datafiles.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-08-16 12:45:08 +0200
committerBorja Lorente2016-08-19 16:30:24 +0200
commite5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d (patch)
tree757bf28b06a213e4053829c11e5e81bbb4affd5e /engines/macventure/datafiles.cpp
parent34fdec37b26c7328f07f6251263f1c1afc7d1629 (diff)
downloadscummvm-rg350-e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d.tar.gz
scummvm-rg350-e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d.tar.bz2
scummvm-rg350-e5cf0332f2d08c7f6bc45c1f1fd8edaf276ea76d.zip
MACVENTURE: Break up one-line ifs and fix braces
Diffstat (limited to 'engines/macventure/datafiles.cpp')
-rw-r--r--engines/macventure/datafiles.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/macventure/datafiles.cpp b/engines/macventure/datafiles.cpp
index 9532434f03..aa47869bcd 100644
--- a/engines/macventure/datafiles.cpp
+++ b/engines/macventure/datafiles.cpp
@@ -66,8 +66,9 @@ Common::String windowTypeName(MVWindowType windowType) {
void MacVentureEngine::loadDataBundle() {
_dataBundle = Common::makeZipArchive(MACVENTURE_DATA_BUNDLE);
- if (!_dataBundle)
+ if (!_dataBundle) {
error("ENGINE: Couldn't load data bundle '%s'.", MACVENTURE_DATA_BUNDLE.c_str());
+ }
}
Common::SeekableReadStream *MacVentureEngine::getBorderFile(MVWindowType windowType, bool isActive) {