diff options
author | Travis Howell | 2003-05-26 08:45:31 +0000 |
---|---|---|
committer | Travis Howell | 2003-05-26 08:45:31 +0000 |
commit | b959d9d64e0f08b178e25489d86f3eab59bf2a3f (patch) | |
tree | e3d9da2ac2baffe58b47cb9f28015c77a989847d /simon/items.cpp | |
parent | 01b900e028e2683d10beae62ecec0c0625507791 (diff) | |
download | scummvm-rg350-b959d9d64e0f08b178e25489d86f3eab59bf2a3f.tar.gz scummvm-rg350-b959d9d64e0f08b178e25489d86f3eab59bf2a3f.tar.bz2 scummvm-rg350-b959d9d64e0f08b178e25489d86f3eab59bf2a3f.zip |
Commit hack to allow simon1amiga to run, for experimenting
svn-id: r7995
Diffstat (limited to 'simon/items.cpp')
-rw-r--r-- | simon/items.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index 8916e49e0c..5a5b745f86 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -274,7 +274,12 @@ int SimonState::runScript() { uint var = getVarOrByte(); uint value = (uint16)getVarOrWord(); - writeVariable(var, _rnd.getRandomNumber(value - 1)); + // Disable random in simon1amiga for now + // Since copy protection screen is currently unreadable + if (_game == GAME_SIMON1AMIGA) + writeVariable(var, 4); + else + writeVariable(var, _rnd.getRandomNumber(value - 1)); } break; |