diff options
author | Travis Howell | 2007-02-12 04:23:10 +0000 |
---|---|---|
committer | Travis Howell | 2007-02-12 04:23:10 +0000 |
commit | bfd3d872b8c88a4e10cefd1b3abee30844cce495 (patch) | |
tree | ae30dd043d16ed377d7bf311711fa5565e76f797 | |
parent | 384fd4b8334d88c828185c309952a046f4625fea (diff) | |
download | scummvm-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.cpp | 4 |
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)); |