fixed bullet
This commit is contained in:
parent
bea22e72e0
commit
79e4e567e9
2 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,6 @@ int JudgeHitBulletBlock(int x, int y, BULLET *bul)
|
||||||
{
|
{
|
||||||
if (!(bul->bbits & 0x40))
|
if (!(bul->bbits & 0x40))
|
||||||
bul->cond = 0;
|
bul->cond = 0;
|
||||||
printf("%d\n", bul->cond);
|
|
||||||
SetCaret(bul->x, bul->y, 2, 0);
|
SetCaret(bul->x, bul->y, 2, 0);
|
||||||
PlaySoundObject(12, 1);
|
PlaySoundObject(12, 1);
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
|
|
|
@ -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].view.bottom = gBulTbl[no].view.bottom << 9;
|
||||||
gBul[i].x = x;
|
gBul[i].x = x;
|
||||||
gBul[i].y = y;
|
gBul[i].y = y;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue