aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/true_talk/barbot_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/barbot_script.cpp b/engines/titanic/true_talk/barbot_script.cpp
index d79ebedf4d..3da9d0e05f 100644
--- a/engines/titanic/true_talk/barbot_script.cpp
+++ b/engines/titanic/true_talk/barbot_script.cpp
@@ -1177,7 +1177,7 @@ int BarbotScript::applySentenceIds(int dialogueId, int v34) {
} else {
for (uint idx = 0; idx < _mappings.size(); ++idx) {
const TTscriptMapping &m = _mappings[idx];
- for (int vidx = 0; vidx < _mappings._valuesPerMapping; ++idx) {
+ for (int vidx = 0; vidx < _mappings._valuesPerMapping; ++vidx) {
if (m._values[vidx] == (uint)dialogueId) {
updateState(m._id, m._id, vidx);
break;