aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-19 22:26:22 +0000
committerJohannes Schickel2008-04-19 22:26:22 +0000
commit2de46c5e80f1b099092128236e4b6603e5e67e76 (patch)
tree1a7ff3bf23c075607a199f6e1470962529f920d3 /engines/kyra
parent663ae0147434f795d9704a365f565c1ac161f98a (diff)
downloadscummvm-rg350-2de46c5e80f1b099092128236e4b6603e5e67e76.tar.gz
scummvm-rg350-2de46c5e80f1b099092128236e4b6603e5e67e76.tar.bz2
scummvm-rg350-2de46c5e80f1b099092128236e4b6603e5e67e76.zip
Oops forgot to update assert last commit.
svn-id: r31583
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/text_v2.cpp2
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[] = {