diff options
-rw-r--r-- | engines/wage/wage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 1932168e41..8886b0d67d 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -109,7 +109,8 @@ Common::Error WageEngine::run() { // Your main event loop should be (invoked from) here. _resManager = new Common::MacResManager(); - _resManager->open(getGameFile()); + if (!_resManager->open(getGameFile())) + error("Could not open %s as a resource fork", getGameFile()); _world = new World(this); |