From 79e4e567e92c0d938548c85ee622774b98b6d268 Mon Sep 17 00:00:00 2001 From: cuckydev Date: Wed, 30 Jan 2019 16:10:19 -0500 Subject: [PATCH] fixed bullet --- src/BulHit.cpp | 1 - src/Bullet.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BulHit.cpp b/src/BulHit.cpp index d7dec28c..be5fa959 100644 --- a/src/BulHit.cpp +++ b/src/BulHit.cpp @@ -32,7 +32,6 @@ int JudgeHitBulletBlock(int x, int y, BULLET *bul) { if (!(bul->bbits & 0x40)) bul->cond = 0; - printf("%d\n", bul->cond); SetCaret(bul->x, bul->y, 2, 0); PlaySoundObject(12, 1); for (int i = 0; i < 4; i++) diff --git a/src/Bullet.cpp b/src/Bullet.cpp index f50549b1..221264e4 100644 --- a/src/Bullet.cpp +++ b/src/Bullet.cpp @@ -160,6 +160,7 @@ void SetBullet(int no, int x, int y, int dir) gBul[i].view.bottom = gBulTbl[no].view.bottom << 9; gBul[i].x = x; gBul[i].y = y; + break; } } }