diff options
| author | athrxx | 2011-11-28 18:44:40 +0100 | 
|---|---|---|
| committer | Johannes Schickel | 2011-12-26 16:18:15 +0100 | 
| commit | aac7e16afa8546232a27754c6928cd43cd6ba876 (patch) | |
| tree | 6a8ffc704b3d158e211a482564b379c131d64717 /engines/kyra/script_eob.cpp | |
| parent | 49c111f8ca4a822ce98c81a9162899d3d1e4e6b2 (diff) | |
| download | scummvm-rg350-aac7e16afa8546232a27754c6928cd43cd6ba876.tar.gz scummvm-rg350-aac7e16afa8546232a27754c6928cd43cd6ba876.tar.bz2 scummvm-rg350-aac7e16afa8546232a27754c6928cd43cd6ba876.zip | |
KYRA: (EOB) - fix some more bugs
- wrong usage of static array which caused issues when restarting after RTL
- portability issue with dialog labels
- (original code) bug in hold person spell
Diffstat (limited to 'engines/kyra/script_eob.cpp')
| -rw-r--r-- | engines/kyra/script_eob.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/engines/kyra/script_eob.cpp b/engines/kyra/script_eob.cpp index e85b1dc11a..4123e89a14 100644 --- a/engines/kyra/script_eob.cpp +++ b/engines/kyra/script_eob.cpp @@ -1527,7 +1527,7 @@ int EobInfProcessor::oeob_dialogue(int8 *data) {  			break;  		case -40: -			_dlgResult = _vm->runDialogue(READ_LE_UINT16(pos), READ_LE_UINT16(pos + 6) == 0xffff ? 0 : 1, getString(READ_LE_UINT16(pos + 2)), getString(READ_LE_UINT16(pos + 4)), getString(READ_LE_UINT16(pos + 6)), 0); +			_dlgResult = _vm->runDialogue(READ_LE_UINT16(pos), READ_LE_UINT16(pos + 6) == 0xffff ? 2 : 3, getString(READ_LE_UINT16(pos + 2)), getString(READ_LE_UINT16(pos + 4)), getString(READ_LE_UINT16(pos + 6)));  			pos += 8;  			break; | 
