Skip to content

Commit

Permalink
Adjust determination zone of bullets
Browse files Browse the repository at this point in the history
  • Loading branch information
EVAST9919 committed Jun 28, 2021
1 parent c8cc556 commit 1ba8289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game.Rulesets.Touhosu/UI/TouhosuPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected override void OnNewDrawableHitObject(DrawableHitObject drawableHitObje

private bool checkHit(Vector2 pos)
{
var isHit = Vector2.Distance(Player.PlayerPosition(), pos) < (TouhosuExtensions.SPHERE_SIZE + TouhosuPlayer.HITBOX_SIZE) / 2f;
var isHit = Vector2.Distance(Player.PlayerPosition(), pos) < TouhosuPlayer.HITBOX_SIZE / 2f;

if (isHit)
Player.PlayMissAnimation();
Expand Down

0 comments on commit 1ba8289

Please sign in to comment.