diff options
author | Oliver Kiehl | 2002-12-01 15:36:36 +0000 |
---|---|---|
committer | Oliver Kiehl | 2002-12-01 15:36:36 +0000 |
commit | 7e77138a3f58225857f1f3b75bb7fb0d0281e71b (patch) | |
tree | 7819bf5a69b0d4b5eb0a1752b2fbf7ff57ecd130 /simon/items.cpp | |
parent | 5819f1e6ee61cb4d652749008e40dea5ab33146f (diff) | |
download | scummvm-rg350-7e77138a3f58225857f1f3b75bb7fb0d0281e71b.tar.gz scummvm-rg350-7e77138a3f58225857f1f3b75bb7fb0d0281e71b.tar.bz2 scummvm-rg350-7e77138a3f58225857f1f3b75bb7fb0d0281e71b.zip |
new randimizer for simon
svn-id: r5784
Diffstat (limited to 'simon/items.cpp')
-rw-r--r-- | simon/items.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/items.cpp b/simon/items.cpp index d9eb7b8c26..68cb5e9cb9 100644 --- a/simon/items.cpp +++ b/simon/items.cpp @@ -277,7 +277,7 @@ int SimonState::runScript() for (;;) { uint value_2 = value; - rand_value = rand() & 0x7FFF; + rand_value = _rnd.getRandomNumber(0xffff) & 0x7FFF; if (value == 0) error("Invalid random range"); |