diff options
author | Sven Hesse | 2011-09-14 23:02:05 +0200 |
---|---|---|
committer | Sven Hesse | 2011-09-15 21:24:08 +0200 |
commit | 79f2bb52b655e73badef5155b7c772c705ae44e9 (patch) | |
tree | a72091acb9ec3c18176975b098c70caefeca5f6e /engines | |
parent | 3fe3a4928349c67b36c05ab15be70c582b516a88 (diff) | |
download | scummvm-rg350-79f2bb52b655e73badef5155b7c772c705ae44e9.tar.gz scummvm-rg350-79f2bb52b655e73badef5155b7c772c705ae44e9.tar.bz2 scummvm-rg350-79f2bb52b655e73badef5155b7c772c705ae44e9.zip |
GOB: Randomize evil fish positions
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/minigames/geisha/diving.cpp | 3 |
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); } } |