diff options
-rw-r--r-- | engines/mohawk/riven_graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven_graphics.cpp b/engines/mohawk/riven_graphics.cpp index d4ea8fc703..e19a56da92 100644 --- a/engines/mohawk/riven_graphics.cpp +++ b/engines/mohawk/riven_graphics.cpp @@ -823,8 +823,8 @@ void FliesEffect::initFlies(uint16 count) { } void FliesEffect::initFlyRandomPosition(uint index) { - int posX = _vm->_rnd->getRandomNumber(_gameRect.right - 3); - int posY = _vm->_rnd->getRandomNumber(_gameRect.bottom - 3); + int posX = _vm->_rnd->getRandomNumber(_gameRect.right - 4); + int posY = _vm->_rnd->getRandomNumber(_gameRect.bottom - 4); if (posY < 100) { posY = 100; |