1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-03 11:30:02 +00:00

Fixed playfield/missile and playfield/ball collisions.

This commit is contained in:
Thomas Harte 2016-06-02 22:36:52 -04:00
parent 68a8851c52
commit 604862b20b

View File

@ -267,7 +267,7 @@ void Machine::setup_reported_collisions()
_reportedCollisions[c][7] |= ((playerPixels[0] & playerPixels[1]) << 7);
}
if(_playfieldOutput | ballPixel) {
if(playfieldPixel | ballPixel) {
_reportedCollisions[c][4] |= ((playfieldPixel & missilePixels[0]) << 7) | ((ballPixel & missilePixels[0]) << 6);
_reportedCollisions[c][5] |= ((playfieldPixel & missilePixels[1]) << 7) | ((ballPixel & missilePixels[1]) << 6);