aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-18 19:46:29 +0530
committerEugene Sandulenko2019-09-03 17:16:48 +0200
commit55d87676f21e36aed0e37b5f59c38a5797ec1462 (patch)
treeaf1c3c1adb7d64f240939104c43dc112b99c5bdc
parentc1511959d7dcf5182c259e5f98cdcfa85a900d6f (diff)
downloadscummvm-rg350-55d87676f21e36aed0e37b5f59c38a5797ec1462.tar.gz
scummvm-rg350-55d87676f21e36aed0e37b5f59c38a5797ec1462.tar.bz2
scummvm-rg350-55d87676f21e36aed0e37b5f59c38a5797ec1462.zip
HDB: Remove unreachable return statements
-rw-r--r--engines/hdb/hdb.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index d3feec6440..b157445441 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -74,19 +74,15 @@ bool HDBGame::init() {
if (!_fileMan->openMPC(getGameFile())) {
error("FileMan::openMPC: Cannot find the hyperspace.mpc data file.");
- return false;
}
if (!_ai->init()) {
error("AI::init: Couldn't initialize AI");
- return false;
}
if (!_drawMan->init()) {
error("DrawMan::init: Couldn't initialize DrawMan");
- return false;
}
if (!_lua->init()) {
error("LuaScript::init: Couldn't load the GLOBAL_LUA code.");
- return false;
}
_gameShutdown = false;