Version 5.8 hotfix with tweak to collision detection at the top boarder.

This commit is contained in:
Dave Bernazzani 2024-10-20 17:04:58 -04:00
parent df933f48d8
commit 222366f92f
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -1258,7 +1258,7 @@ ITCM_CODE BOOL AY38900::mobsCollide(int mobNum0, int mobNum1)
// Since we've already determined a collision, we only need to check one of the MOB rectangles to see
// if it is off-screen as the other one would be likewise... In theory, we should check outside bottom too.
// ---------------------------------------------------------------------------------------------------------
if ((r0->y + (offsetYr0 + y + verticalOffset)) >= 0) return TRUE;
if ((r0->y + ((offsetYr0/2) + (y/2) + verticalOffset)) >= 0) return TRUE;
}
}