diff options
author | Paul Gilbert | 2015-10-24 16:14:15 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-10-24 16:14:15 -0400 |
commit | 569f3c65b724a1c7be7a64bbfc61ec8aef060033 (patch) | |
tree | b84ec3a17df5e0d6ba78d94be1cee1a104916d65 /engines | |
parent | e06c879a477b4e187a31859e2519767f7e992bdb (diff) | |
download | scummvm-rg350-569f3c65b724a1c7be7a64bbfc61ec8aef060033.tar.gz scummvm-rg350-569f3c65b724a1c7be7a64bbfc61ec8aef060033.tar.bz2 scummvm-rg350-569f3c65b724a1c7be7a64bbfc61ec8aef060033.zip |
XEEN: Beginnings of work on copy protection check method
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/scripts.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 790e3d729e..175292fa1d 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -20,6 +20,7 @@ * */ +#include "common/config-manager.h" #include "xeen/scripts.h" #include "xeen/dialogs_input.h" #include "xeen/dialogs_whowill.h" @@ -1792,7 +1793,11 @@ bool Scripts::ifProc(int action, uint32 mask, int mode, int charIndex) { } bool Scripts::copyProtectionCheck() { - // Currentl not implemented + // Only bother doing the protection check if it's been explicitly turned on + if (!ConfMan.getBool("copy_protection")) + return true; + + // Currently not implemented return true; } |