diff options
| author | Oliver Kiehl | 2002-12-01 14:57:50 +0000 |
|---|---|---|
| committer | Oliver Kiehl | 2002-12-01 14:57:50 +0000 |
| commit | 133f624cc530a210c82d38e6e5ecf2cd732011b7 (patch) | |
| tree | 94809a1086a54ed4929606a4d6e879806ea0d6b5 /scumm/gfx.cpp | |
| parent | 89eaf9b319299950872229e585dca30e2995772f (diff) | |
| download | scummvm-rg350-133f624cc530a210c82d38e6e5ecf2cd732011b7.tar.gz scummvm-rg350-133f624cc530a210c82d38e6e5ecf2cd732011b7.tar.bz2 scummvm-rg350-133f624cc530a210c82d38e6e5ecf2cd732011b7.zip | |
moved RNG to common/util.cpp
svn-id: r5778
Diffstat (limited to 'scumm/gfx.cpp')
| -rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 9ac04e68cd..21f9211855 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -2076,7 +2076,7 @@ void Scumm::dissolveEffect(int width, int height) { for (i = 1; i < w * h; i++) { int j; - j = getRandomNumber(i - 1); + j = _rnd.getRandomNumber(i - 1); offsets[i] = offsets[j]; offsets[j] = i; } @@ -2099,7 +2099,7 @@ void Scumm::dissolveEffect(int width, int height) { for (i = 1; i < w * h; i++) { int j; - j = getRandomNumber(i - 1); + j = _rnd.getRandomNumber(i - 1); offsets[i] = offsets[j]; offsets[j] = offsets2[i]; } |
