Fix regression in collision handling.

This commit is contained in:
Christian Speckner 2019-04-06 12:33:29 +02:00
parent 0d1848dcda
commit 83c8b74800
1 changed files with 6 additions and 4 deletions

View File

@ -1301,12 +1301,14 @@ void TIA::tickMovement()
myBall.movementTick(movementCounter, hblank);
myMovementInProgress =
myMissile0.isMoving |
myMissile1.isMoving |
myPlayer0.isMoving |
myPlayer1.isMoving |
myMissile0.isMoving ||
myMissile1.isMoving ||
myPlayer0.isMoving ||
myPlayer1.isMoving ||
myBall.isMoving;
myCollisionUpdateRequired = myCollisionUpdateRequired || myMovementInProgress;
++myMovementClock;
}
}