1
This commit is contained in:
parent
9e2ca60298
commit
ea4b4092ca
@ -732,10 +732,10 @@ void Bullet::GetHitThings(BulletCheckResult& result)
|
||||
sender.Get()->team_id == ob->GetTeamId(room)) {
|
||||
bool ret = Collision::Check2dRotationRectangle
|
||||
(GetPos().x,
|
||||
GetPos().y,
|
||||
GetPos().z,
|
||||
gun_meta->bullet_rad(),
|
||||
ob->GetPos().x,
|
||||
ob->GetPos().y,
|
||||
ob->GetPos().z,
|
||||
ob->meta->width(),
|
||||
ob->meta->height(),
|
||||
ob->GetRotate() * 180.0f
|
||||
|
Loading…
x
Reference in New Issue
Block a user