GOB: remove a forced retrace in newCycleAnim for Adibou2

Lead to glitches (scenes shown too soon before loading the correct palette), and does not seem to be needed.
This commit is contained in:
Simon Delamarre 2022-10-29 00:43:40 +02:00 committed by Eugene Sandulenko
parent 519b9b88ec
commit 65ec3bfa8a
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -699,7 +699,8 @@ void Mult_v2::newCycleAnim(Mult_Object &animObj) {
animLayer = _vm->_scenery->getAnimLayer(nAnim, nLayer);
} else {
if (animObj.videoSlot > 0) {
_vm->_video->retrace();
if (_vm->getGameType() != kGameTypeAdibou2)
_vm->_video->retrace();
_vm->_vidPlayer->waitEndFrame(animObj.videoSlot - 1, true);
}
}