aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/minigames/geisha
diff options
context:
space:
mode:
authorSven Hesse2011-09-14 23:02:05 +0200
committerSven Hesse2011-09-15 21:24:08 +0200
commit79f2bb52b655e73badef5155b7c772c705ae44e9 (patch)
treea72091acb9ec3c18176975b098c70caefeca5f6e /engines/gob/minigames/geisha
parent3fe3a4928349c67b36c05ab15be70c582b516a88 (diff)
downloadscummvm-rg350-79f2bb52b655e73badef5155b7c772c705ae44e9.tar.gz
scummvm-rg350-79f2bb52b655e73badef5155b7c772c705ae44e9.tar.bz2
scummvm-rg350-79f2bb52b655e73badef5155b7c772c705ae44e9.zip
GOB: Randomize evil fish positions
Diffstat (limited to 'engines/gob/minigames/geisha')
-rw-r--r--engines/gob/minigames/geisha/diving.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/minigames/geisha/diving.cpp b/engines/gob/minigames/geisha/diving.cpp
index 38a62ccc88..45bbdb1049 100644
--- a/engines/gob/minigames/geisha/diving.cpp
+++ b/engines/gob/minigames/geisha/diving.cpp
@@ -246,7 +246,8 @@ void Diving::evilFishEnter() {
kEvilFishTypes[fishType][2], kEvilFishTypes[fishType][3],
kEvilFishTypes[fishType][4]);
- fish.enter((EvilFish::Direction)_vm->_util->getRandom(2), 90 + i * 20);
+ fish.enter((EvilFish::Direction)_vm->_util->getRandom(2),
+ 36 + _vm->_util->getRandom(3) * 40);
}
}