Skip to content

Commit da1ae0d

Browse files
WeylonSantanapandinocoder
authored andcommitted
dont checking is dead twice
1 parent 678c481 commit da1ae0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Intersect.Client.Core/Entities/Resource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ private void CalculateRenderBounds()
465465
{
466466
selectedGraphic = deadGraphic;
467467
}
468-
else if (!IsDead && graphicState is { MinimumHealth: > 0 } aliveGraphic)
468+
else if (graphicState is { MinimumHealth: > 0 } aliveGraphic)
469469
{
470470
selectedGraphic = aliveGraphic;
471471
}

0 commit comments

Comments
 (0)