aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-01-26 23:26:28 +0000
committerNicola Mettifogo2007-01-26 23:26:28 +0000
commit3be5b0cca2b44537895166c9b5218a0c55b82595 (patch)
tree12d80368ab09c7565d3ed7f14e677de37bdeda46 /engines/parallaction
parentda096e4b17b351d37fc4466695e759f3f34e81f4 (diff)
downloadscummvm-rg350-3be5b0cca2b44537895166c9b5218a0c55b82595.tar.gz
scummvm-rg350-3be5b0cca2b44537895166c9b5218a0c55b82595.tar.bz2
scummvm-rg350-3be5b0cca2b44537895166c9b5218a0c55b82595.zip
fixed out-of-bounds error causing random crashes in dialogues
svn-id: r25215
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/dialogue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/dialogue.cpp b/engines/parallaction/dialogue.cpp
index d1c238eec5..a45eb59e38 100644
--- a/engines/parallaction/dialogue.cpp
+++ b/engines/parallaction/dialogue.cpp
@@ -277,8 +277,8 @@ void runDialogue(SpeakData *data) {
v5C._data0 = v6E._array[v60->_mood & 0xF];
// v5C._data1 = v6E.field_8[v60->_mood & 0xF];
- v48._data0 = _characterFace._array[v60->_mood & 0xF];
-// v48._data1 = _characterFace.field_8[v60->_mood & 0xF];
+ v48._data0 = _characterFace._array[0];
+// v48._data1 = _characterFace.field_8[0];
// display Question if any
if (scumm_stricmp(v60->_text, "NULL")) {