aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/saga.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h
index 154ef766df..9b6217ed19 100644
--- a/engines/saga/saga.h
+++ b/engines/saga/saga.h
@@ -399,7 +399,9 @@ struct StringsTable {
const char *getString(int index) const {
if ((stringsCount <= index) || (index < 0)) {
- error("StringList::getString wrong index 0x%X (%d)", index, stringsCount);
+ // This occurs at the end of Ted's chapter, right after the ending cutscene
+ warning("StringList::getString wrong index 0x%X (%d)", index, stringsCount);
+ return "";
}
return strings[index];
}