diff options
-rw-r--r-- | engines/wage/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index 0b8529ec0b..7a15b9314a 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -441,7 +441,7 @@ void World::move(Chr *chr, Scene *scene, bool skipSort) { Scene *World::getRandomScene() { // Not including storage: - return _orderedScenes[1 + _engine->_rnd->getRandomNumber(_orderedScenes.size() - 1)]; + return _orderedScenes[1 + _engine->_rnd->getRandomNumber(_orderedScenes.size() - 2)]; } Scene *World::getSceneAt(int x, int y) { |