From cc23ef2718384d0cff8346b67d2f5df36172cb67 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Tue, 7 May 2019 19:24:41 +0200 Subject: [PATCH] Corrected forgotten RECT formatting and made comment more accurate Added a TODO note to emphasize the fact we don't actually know what Pixel did here Signed-off-by: Gabriel Ravier --- src/BulHit.cpp | 3 ++- src/Bullet.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BulHit.cpp b/src/BulHit.cpp index 4d3d2bc1..0997b69d 100644 --- a/src/BulHit.cpp +++ b/src/BulHit.cpp @@ -344,7 +344,8 @@ void HitBulletMap() if (gBul[i].bbits & 4) { - // A "continue" doesn't produce the same assembly, likely because that would jump to the generated "continue" label instead of the "endif" label + // Using "continue" here doesn't produce accurate assembly + // TODO Figure out what Pixel actually did (it's unlikely he left the brackets empty) } else { diff --git a/src/Bullet.cpp b/src/Bullet.cpp index e0699ecc..3c00fa2f 100644 --- a/src/Bullet.cpp +++ b/src/Bullet.cpp @@ -1300,8 +1300,7 @@ void ActBullet_Spine(BULLET *bul) {232, 0, 240, 8}, }; - RECT rcDown[2] = - { + RECT rcDown[2] = { {224, 8, 232, 16}, {232, 8, 240, 16}, };