mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 17:46:22 +00:00
Change an error to a warning
svn-id: r30363
This commit is contained in:
parent
3ed0ddd375
commit
1886d498ed
@ -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…
x
Reference in New Issue
Block a user