aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2014-12-19 01:35:33 +0100
committerStrangerke2014-12-19 01:35:33 +0100
commit864cab5e477dc5792339e05c1687b78b92318d89 (patch)
treebfa4db3562e85825bd607a75fc1cb4644b8948ae /engines/access
parent3fca9d42f3ff6d19eba40d09754cc794f8e17585 (diff)
downloadscummvm-rg350-864cab5e477dc5792339e05c1687b78b92318d89.tar.gz
scummvm-rg350-864cab5e477dc5792339e05c1687b78b92318d89.tar.bz2
scummvm-rg350-864cab5e477dc5792339e05c1687b78b92318d89.zip
ACCESS: Fix issue related to demo-only (and unused afawk) opcodes
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/scripts.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index 99f52c0ff8..d1dd5e7a7a 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -266,7 +266,7 @@ void Scripts::cmdGoto() {
}
void Scripts::cmdAddScore() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdSetInventory();
return;
}
@@ -412,7 +412,7 @@ void Scripts::cmdDispInv() {
}
void Scripts::cmdSetAbout() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdSetTimer();
return;
}
@@ -459,7 +459,7 @@ void Scripts::cmdCheckTimer() {
}
void Scripts::cmdSetTravel() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdJumpGoto();
return;
}
@@ -515,7 +515,7 @@ void Scripts::cmdSetScroll() {
}
void Scripts::cmdSaveRect() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdVideoEnded();
return;
}
@@ -551,7 +551,7 @@ void Scripts::cmdRemoveLast() {
}
void Scripts::cmdDoTravel() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdSpecial();
return;
}
@@ -559,7 +559,7 @@ void Scripts::cmdDoTravel() {
}
void Scripts::cmdCheckAbout() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdSpecial();
return;
}
@@ -825,7 +825,7 @@ void Scripts::cmdPlayVideoSound() {
}
void Scripts::cmdPrintWatch() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdPushLocation();
return;
}
@@ -833,7 +833,7 @@ void Scripts::cmdPrintWatch() {
}
void Scripts::cmdDispAbout() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdPushLocation();
return;
}
@@ -845,7 +845,7 @@ void Scripts::cmdPushLocation() {
}
void Scripts::cmdCheckTravel() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdPushLocation();
return;
}
@@ -853,7 +853,7 @@ void Scripts::cmdCheckTravel() {
}
void Scripts::cmdBlock() {
- if (_vm->isCD()) {
+ if (!_vm->isDemo()) {
cmdPushLocation();
return;
}