diff options
author | Johannes Schickel | 2008-04-19 22:26:22 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-19 22:26:22 +0000 |
commit | 2de46c5e80f1b099092128236e4b6603e5e67e76 (patch) | |
tree | 1a7ff3bf23c075607a199f6e1470962529f920d3 | |
parent | 663ae0147434f795d9704a365f565c1ac161f98a (diff) | |
download | scummvm-rg350-2de46c5e80f1b099092128236e4b6603e5e67e76.tar.gz scummvm-rg350-2de46c5e80f1b099092128236e4b6603e5e67e76.tar.bz2 scummvm-rg350-2de46c5e80f1b099092128236e4b6603e5e67e76.zip |
Oops forgot to update assert last commit.
svn-id: r31583
-rw-r--r-- | engines/kyra/text_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/text_v2.cpp b/engines/kyra/text_v2.cpp index c968d41aed..3dbcd8b4cc 100644 --- a/engines/kyra/text_v2.cpp +++ b/engines/kyra/text_v2.cpp @@ -200,7 +200,7 @@ void KyraEngine_v2::objectChat(const char *str, int object, int vocHigh, int voc 3, 4, 5 }; - assert(_mainCharacter.facing * 3 + object < ARRAYSIZE(talkScriptTable)); + assert(_mainCharacter.facing * 3 + chatType < ARRAYSIZE(talkScriptTable)); int script = talkScriptTable[_mainCharacter.facing * 3 + chatType]; static const char *chatScriptFilenames[] = { |