Change an error to a warning
svn-id: r30363
This commit is contained in:
parent
3ed0ddd375
commit
1886d498ed
1 changed files with 3 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue