Skip to content

Commit

Permalink
Fix ranged attack skin rendering on female characters
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Mar 31, 2022
1 parent 4601f70 commit 0e9e7e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public ISpriteSheet GetSkinTexture(ICharacterRenderProperties characterRenderPro
}
else if (characterRenderProperties.Gender == 0)
{
if (characterRenderProperties.CurrentAction == CharacterActionState.Attacking)
if (characterRenderProperties.CurrentAction == CharacterActionState.Attacking && characterRenderProperties.RenderAttackFrame > 0)
{
walkExtra += 1;
}
Expand Down

0 comments on commit 0e9e7e1

Please sign in to comment.