ref: f33b7b386b943bbd087a4ee5d936c45b229dc392
parent: 1ea4031de8456683a0a93e2a7ece69f6f8c30858
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jan 7 00:37:40 EST 2020
More-accurate BulHit.cpp variable arrangement
--- a/src/BulHit.cpp
+++ b/src/BulHit.cpp
@@ -47,12 +47,12 @@
int JudgeHitBulletBlock2(int x, int y, unsigned char *atrb, BULLET *bul)
{
- int i;
- int workX;
- int workY;
- int hit = 0;
-
BOOL block[4];
+ int workX, workY;
+ int hit, i;
+
+ hit = 0;
+
if (bul->bbits & 0x40)
{
for (i = 0; i < 4; ++i)
@@ -324,11 +324,10 @@
void HitBulletMap(void)
{
- int i;
- int j;
- int x;
- int y;
+ int x, y;
unsigned char atrb[4];
+
+ int i, j;
for (i = 0; i < BULLET_MAX; ++i)
{