aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-01-09 22:58:55 +0000
committerFilippos Karapetis2008-01-09 22:58:55 +0000
commit1886d498ed877264cad22da9fa36f3794cff666c (patch)
treee918c7790894e7672bf00c8dd5f03953a9904308 /engines
parent3ed0ddd375edfced81481b5e2013b86009d6c9dd (diff)
downloadscummvm-rg350-1886d498ed877264cad22da9fa36f3794cff666c.tar.gz
scummvm-rg350-1886d498ed877264cad22da9fa36f3794cff666c.tar.bz2
scummvm-rg350-1886d498ed877264cad22da9fa36f3794cff666c.zip
Change an error to a warning
svn-id: r30363
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];
}