fixed out-of-bounds error causing random crashes in dialogues

svn-id: r25215
This commit is contained in:
Nicola Mettifogo 2007-01-26 23:26:28 +00:00
parent da096e4b17
commit 3be5b0cca2

View File

@ -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")) {