aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/files_threads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/voyeur/files_threads.cpp')
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 0c0e9aba9e..a437f012c7 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -543,7 +543,7 @@ void ThreadResource::parsePlayCommands() {
if (_vm->_iForceDeath == -1) {
int randomVal;
do {
- randomVal = _vm->getRandomNumber(3);
+ randomVal = _vm->getRandomNumber(3) + 1;
} while (randomVal == _vm->_voy._field4380);
_vm->_voy._field4380 = randomVal;