mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
Fixed crash in KyraEngine_HoF::pauseEngineIntern.
svn-id: r33733
This commit is contained in:
parent
dca7116cb5
commit
8268b5c210
@ -196,14 +196,18 @@ void KyraEngine_HoF::pauseEngineIntern(bool pause) {
|
||||
_seqWsaChatTimeout += pausedTime;
|
||||
_seqWsaChatFrameTimeout += pausedTime;
|
||||
|
||||
for (int x = 0; x < 10; x++) {
|
||||
if (_activeText[x].duration != -1)
|
||||
_activeText[x].startTime += pausedTime;
|
||||
if (_activeText) {
|
||||
for (int x = 0; x < 10; x++) {
|
||||
if (_activeText[x].duration != -1)
|
||||
_activeText[x].startTime += pausedTime;
|
||||
}
|
||||
}
|
||||
|
||||
for (int x = 0; x < 8; x++) {
|
||||
if (_activeWSA[x].flags != -1)
|
||||
_activeWSA[x].nextFrame += pausedTime;
|
||||
if (_activeWSA) {
|
||||
for (int x = 0; x < 8; x++) {
|
||||
if (_activeWSA[x].flags != -1)
|
||||
_activeWSA[x].nextFrame += pausedTime;
|
||||
}
|
||||
}
|
||||
|
||||
_nextIdleAnim += pausedTime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user