Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
baughj committed Apr 28, 2024
1 parent 3c5da39 commit 0792fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hybrasyl/Objects/Creature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public virtual List<Creature> GetTargets(Castable castable, Creature target = nu
{
Direction.North => new Rectangle(X - i + 1, Y - i, 2 * i - 1, 1),
Direction.South => new Rectangle(X - i + 1, Y + i, 2 * i - 1, 1),
Direction.East => new Rectangle(X + i, Y - i + 1, 1, 2 * i - i),
Direction.East => new Rectangle(X + i, Y - i + 1, 1, 2 * i - 1),
Direction.West => new Rectangle(X - i, Y - i + 1, 1, 2 * i - 1),
_ => throw new ArgumentOutOfRangeException(nameof(coneDirection)),
};
Expand Down

0 comments on commit 0792fbd

Please sign in to comment.