aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/game_nebular.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-21 21:03:44 -0500
committerPaul Gilbert2014-02-21 21:03:44 -0500
commit40b3ab62ca8a16c2fd06bfcc691967c4f510d52a (patch)
tree9a1fa7bb691e387a4d59396e7834a3f165c77dca /engines/mads/nebular/game_nebular.cpp
parent7020dbea6a56e41dc199257e898240451bb5bfb1 (diff)
downloadscummvm-rg350-40b3ab62ca8a16c2fd06bfcc691967c4f510d52a.tar.gz
scummvm-rg350-40b3ab62ca8a16c2fd06bfcc691967c4f510d52a.tar.bz2
scummvm-rg350-40b3ab62ca8a16c2fd06bfcc691967c4f510d52a.zip
MADS: Fixes for reading in HOGANUS entries
Diffstat (limited to 'engines/mads/nebular/game_nebular.cpp')
-rw-r--r--engines/mads/nebular/game_nebular.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp
index 43d705fcf8..10c210c6eb 100644
--- a/engines/mads/nebular/game_nebular.cpp
+++ b/engines/mads/nebular/game_nebular.cpp
@@ -27,6 +27,7 @@
#include "mads/graphics.h"
#include "mads/msurface.h"
#include "mads/nebular/game_nebular.h"
+#include "mads/nebular/dialogs_nebular.h"
namespace MADS {
@@ -37,10 +38,10 @@ GameNebular::GameNebular(MADSEngine *vm): Game(vm) {
}
bool GameNebular::checkCopyProtection() {
- if (!ConfMan.getBool("copy_protection") || (ConfMan.hasKey("passed_protection") &&
- ConfMan.getInt("passed_protection") == 1))
+ if (!ConfMan.getBool("copy_protection"))
return true;
+ CopyProtectionDialog::show(_vm);
return false;
}