fixed frame 1 was never shown in wings of rebirth's animation
This commit is contained in:
1 parent
4cbbfc72c6
commit
7c00ef2d4d
1 file changed
+5
-5
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user