aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-02-12 04:23:10 +0000
committerTravis Howell2007-02-12 04:23:10 +0000
commitbfd3d872b8c88a4e10cefd1b3abee30844cce495 (patch)
treeae30dd043d16ed377d7bf311711fa5565e76f797
parent384fd4b8334d88c828185c309952a046f4625fea (diff)
downloadscummvm-rg350-bfd3d872b8c88a4e10cefd1b3abee30844cce495.tar.gz
scummvm-rg350-bfd3d872b8c88a4e10cefd1b3abee30844cce495.tar.bz2
scummvm-rg350-bfd3d872b8c88a4e10cefd1b3abee30844cce495.zip
Adjust random opcode for Amiga versions of Simon the Sorcerer 1.
svn-id: r25507
-rw-r--r--engines/agos/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 95286e28fb..60c3d97c1d 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -442,8 +442,8 @@ void AGOSEngine::o_random() {
uint var = getVarWrapper();
uint value = (uint16)getVarOrWord();
- // Copy protection subtitles aren't displayed in Amiga version
- if (getGameId() == GID_SIMON1AMIGA && var == 51 && value == 8)
+ // Copy protection subtitles aren't displayed in Amiga OCS version
+ if ((getFeatures() & GF_32COLOR) && var == 51 && value == 8)
writeVariable(var, 4);
else
writeVariable(var, _rnd.getRandomNumber(value - 1));