Fix replaying animation bug in StoatSpriteEngine

Fix a bug where animations would replay after calling
StoatSpriteEngine.MultiSprite_EndAllMove (e.g. the start of battle
animation in Rance 02 replaying after every attack).
This commit is contained in:
Nunuhara Cabbage
2022-04-06 17:55:28 -07:00
parent 48b53881de
commit b45e8e73dc
+1
View File
@@ -694,6 +694,7 @@ static void StoatSpriteEngine_MultiSprite_EndAllMove(void)
struct multisprite *ms = sp_types[i].sprites[j];
if (ms && ms->moving) {
ms->pos = ms->move.end;
ms->moving = false;
}
}
}