aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 1812051054..bfa4f8687f 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -1357,7 +1357,7 @@ void ScummEngine_v6::o6_setObjectName() {
}
}
- error("New name of %d overflows name table (max = %d)", obj, 50);
+ error("New name of %d overflows name table (max = %d)", obj, _numNewNames);
}
void ScummEngine_v6::o6_isSoundRunning() {