mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Sprite is always set to 1 in o_printStr() and o1_scnTxtLongText() for FF. Fixes wait timeouts in holomail.
svn-id: r21660
This commit is contained in:
parent
50983a3721
commit
e806e891e3
@ -1246,12 +1246,16 @@ void SimonEngine::o1_scnTxtLongText(bool &cond, int &ret) {
|
||||
uint color = getVarOrByte();
|
||||
uint stringId = getVarOrByte();
|
||||
uint speechId = 0;
|
||||
TextLocation *tl;
|
||||
|
||||
const char *string_ptr = (const char *)getStringPtrByID(_stringIdArray3[stringId]);
|
||||
TextLocation *tl = getTextLocation(vgaSpriteId);
|
||||
if (getFeatures() & GF_TALKIE)
|
||||
speechId = _speechIdArray4[stringId];
|
||||
|
||||
if (getGameType() == GType_FF)
|
||||
vgaSpriteId = 1;
|
||||
tl = getTextLocation(vgaSpriteId);
|
||||
|
||||
if (_speech && speechId != 0)
|
||||
playSpeech(speechId, vgaSpriteId);
|
||||
if (string_ptr != NULL && _subtitles)
|
||||
|
@ -2143,10 +2143,9 @@ void SimonEngine::o_printStr() {
|
||||
speech_id = (uint16)getNextWord();
|
||||
|
||||
if (getGameType() == GType_FF)
|
||||
tl = getTextLocation(1);
|
||||
else
|
||||
tl = getTextLocation(vgaSpriteId);
|
||||
vgaSpriteId = 1;
|
||||
|
||||
tl = getTextLocation(vgaSpriteId);
|
||||
if (_speech && speech_id != 0)
|
||||
playSpeech(speech_id, vgaSpriteId);
|
||||
if ((getGameType() == GType_SIMON2) && (getFeatures() & GF_TALKIE) && speech_id == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user