Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 243892e

Browse files
committed
Minor change
1 parent 32ac46f commit 243892e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/MOSprite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ void MOSprite::Update() {
473473

474474
// Animate the sprite, if applicable
475475
unsigned int frameTime = m_SpriteAnimDuration / m_FrameCount;
476-
unsigned int prevFrame;
476+
unsigned int prevFrame = m_Frame;
477477

478478
if (m_SpriteAnimTimer.GetElapsedSimTimeMS() > frameTime) {
479479
switch (m_SpriteAnimMode) {

0 commit comments

Comments
 (0)