AGOS: SIMON2: Fix pirate dialogue freeze
(cherry picked from commit eb851041ed
)
This commit is contained in:
parent
85ed671a5c
commit
125d28fdef
2 changed files with 3 additions and 2 deletions
|
@ -1066,7 +1066,7 @@ void AGOSEngine::stopAnimate(uint16 a) {
|
|||
void AGOSEngine::waitForSync(uint a) {
|
||||
const uint maxCount = (getGameType() == GType_SIMON1) ? 1000 : 2500;
|
||||
|
||||
if (getGameType() == GType_SIMON1 && (getFeatures() & GF_TALKIE)) {
|
||||
if ((getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) && (getFeatures() & GF_TALKIE)) {
|
||||
if (a != 200) {
|
||||
uint16 tmp = _lastVgaWaitFor;
|
||||
_lastVgaWaitFor = 0;
|
||||
|
|
|
@ -801,7 +801,8 @@ void AGOSEngine::vc15_sync() {
|
|||
}
|
||||
}
|
||||
|
||||
_lastVgaWaitFor = id;
|
||||
if (id != 200)
|
||||
_lastVgaWaitFor = id;
|
||||
/* clear a wait event */
|
||||
if (id == _vgaWaitFor)
|
||||
_vgaWaitFor = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue