1
This commit is contained in:
parent
2d883c2aba
commit
c4f1461361
@ -3354,8 +3354,8 @@ void Human::GetHitAabbBox(AabbCollider& aabb_box)
|
||||
aabb_box._min.y = -GetCar()->meta->i->rad();
|
||||
aabb_box._max.x = GetCar()->meta->i->rad();
|
||||
aabb_box._max.y = GetCar()->meta->i->rad();
|
||||
aabb_box.MoveCenter(GetCar()->hero_meta_->i->move_offset_x(),
|
||||
GetCar()->hero_meta_->i->move_offset_y());
|
||||
aabb_box.MoveCenter(GetCar()->hero_meta_->i->hit_offset_x(),
|
||||
GetCar()->hero_meta_->i->hit_offset_y());
|
||||
} else {
|
||||
aabb_box._min.x = -GetHitRadius();
|
||||
aabb_box._min.y = -GetHitRadius();
|
||||
|
Loading…
x
Reference in New Issue
Block a user