fixed frame 1 was never shown in wings of rebirth's animation

This commit is contained in:
DimHaze authored and Cameron Ewell committed 2025-10-31 15:26:17 -04:00
1 parent 4cbbfc72c6
commit 7c00ef2d4d
1 file changed
+5 -5
+5 -5
View File
@@ -63,17 +63,17 @@ namespace CalamityMod.Items.Accessories.Wings
{
player.wingFrame = 7;
}
// Animation
if (player.wingFrameCounter % frameRate == 0)
{
player.wingFrame++;
}
// Reset frames
if (player.wingFrame >= maxFrames)
{
player.wingFrameCounter = 0;
player.wingFrame = 1;
}
// Animation
if (player.wingFrameCounter % frameRate == 0)
{
player.wingFrame++;
}
}
else
{