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
2 changed files with 7 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue