mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-04 21:07:56 +03:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user