1
This commit is contained in:
parent
0c2fd19816
commit
56a073aea8
@ -283,7 +283,9 @@ void VirtualBullet::Init()
|
|||||||
|
|
||||||
bool VirtualBullet::TestCollision(Room* room, ColliderComponent* b)
|
bool VirtualBullet::TestCollision(Room* room, ColliderComponent* b)
|
||||||
{
|
{
|
||||||
return false;
|
CircleCollider collider;
|
||||||
|
collider.rad = gun_meta->i->bullet_rad();
|
||||||
|
return b->IntersectEx(GetPos(), &collider);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VirtualBullet::OnStrengthen(Obstacle* ob)
|
void VirtualBullet::OnStrengthen(Obstacle* ob)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user