diff options
author | Filippos Karapetis | 2008-01-09 22:58:55 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-01-09 22:58:55 +0000 |
commit | 1886d498ed877264cad22da9fa36f3794cff666c (patch) | |
tree | e918c7790894e7672bf00c8dd5f03953a9904308 /engines | |
parent | 3ed0ddd375edfced81481b5e2013b86009d6c9dd (diff) | |
download | scummvm-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.h | 4 |
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]; } |