aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorOliver Kiehl2002-12-01 14:57:50 +0000
committerOliver Kiehl2002-12-01 14:57:50 +0000
commit133f624cc530a210c82d38e6e5ecf2cd732011b7 (patch)
tree94809a1086a54ed4929606a4d6e879806ea0d6b5 /scumm/gfx.cpp
parent89eaf9b319299950872229e585dca30e2995772f (diff)
downloadscummvm-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.cpp4
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];
}