aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/neverhood/modules/module1000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/neverhood/modules/module1000.cpp b/engines/neverhood/modules/module1000.cpp
index be57502d08..5e4d67d2bc 100644
--- a/engines/neverhood/modules/module1000.cpp
+++ b/engines/neverhood/modules/module1000.cpp
@@ -701,7 +701,7 @@ uint32 Scene1005::getKloggsTextIndex() {
uint32 Scene1005::getTextIndex3() {
uint32 textIndex = getGlobalVar(V_TEXT_COUNTING_INDEX2);
- if (textIndex + 1 >= 10) {
+ if (textIndex + 1 > 10) {
textIndex = 0;
}
setGlobalVar(V_TEXT_COUNTING_INDEX2, textIndex + 1);