Skip to content

Commit

Permalink
Merge pull request #520 from FFXIV-CombatReborn/mergeWIP
Browse files Browse the repository at this point in the history
code analyzer fix
  • Loading branch information
CarnifexOptimus authored Dec 27, 2024
2 parents 8198911 + c87849e commit ed45933
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public override void OnEventCast(Actor caster, ActorCastEvent spell)
private void PopAOE()
{
++NumCasts;
if (_aoes.Count > 0)
if (_aoes.Count != 0)
_aoes.RemoveAt(0);
}

Expand All @@ -115,7 +115,7 @@ private IEnumerable<WPos> SafeSpots()
{
foreach (var a in safespots.Allowed(default))
{
var mid = ((a.Item1.Rad + a.Item2.Rad) * 0.5f).Radians();
var mid = ((a.min.Rad + a.max.Rad) * 0.5f).Radians();
yield return safespots.Center + safespots.Radius * mid.ToDirection();
}
}
Expand Down

0 comments on commit ed45933

Please sign in to comment.