mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-07 03:18:17 +00:00
KYRA: fix regression in non-playable HOF demo
(missing animated items)
This commit is contained in:
parent
d1e9d38214
commit
cc3fc3f3da
@ -234,6 +234,8 @@ void KyraEngine_HoF::seq_playSequences(int startSeq, int endSeq) {
|
||||
int32 dly = _tickLength - (now - _seqSubFrameStartTime);
|
||||
if (dly > 0)
|
||||
delay(MIN<uint32>(dly, tdiff));
|
||||
else
|
||||
updateInput();
|
||||
}
|
||||
}
|
||||
|
||||
@ -263,6 +265,8 @@ void KyraEngine_HoF::seq_playSequences(int startSeq, int endSeq) {
|
||||
int32 dly = _tickLength - (now - _seqSubFrameStartTime);
|
||||
if (dly > 0)
|
||||
delay(MIN<uint32>(dly, tdiff));
|
||||
else
|
||||
updateInput();
|
||||
}
|
||||
|
||||
seq_sequenceCommand(cseq.finalCommand);
|
||||
@ -2780,8 +2784,8 @@ void KyraEngine_HoF::seq_init() {
|
||||
Screen::decodeFrame4(shp + 10, _animShapeFiledata, outsize);
|
||||
delete[] shp;
|
||||
|
||||
for (int numShp = 0; getShapePtr(numShp); ++numShp)
|
||||
addShapeToPool(_screen->getPtrToShape(_animShapeFiledata, numShp), numShp);
|
||||
for (int i = 0; i < 20; i++)
|
||||
addShapeToPool(_screen->getPtrToShape(_animShapeFiledata, i), i);
|
||||
} else {
|
||||
const MainMenu::StaticData data = {
|
||||
{ _sequenceStrings[97], _sequenceStrings[96], _sequenceStrings[95], _sequenceStrings[98], 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user