diff --git a/modules/SACT/sprite_move.c b/modules/SACT/sprite_move.c index e98bae9..64c1819 100644 --- a/modules/SACT/sprite_move.c +++ b/modules/SACT/sprite_move.c @@ -164,6 +164,7 @@ void spev_move_waitend(sprite_t *sp, int dx, int dy, int time) { while (sp->move.moving) { nact->callback(); + WaitVsync(); } } @@ -182,6 +183,7 @@ void spev_wait4moving_sp() { while (sp->move.moving) { nact->callback(); + WaitVsync(); } } }