diff options
Diffstat (limited to 'apps/plugins/spacerocks.c')
-rw-r--r-- | apps/plugins/spacerocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c index ded3900b05..0061967f8b 100644 --- a/apps/plugins/spacerocks.c +++ b/apps/plugins/spacerocks.c @@ -2059,7 +2059,7 @@ static int spacerocks_game_loop(void) if(next_thrust_count) next_thrust_count--; - if (end > *rb->current_tick) + if (TIME_BEFORE(*rb->current_tick, end)) rb->sleep(end-*rb->current_tick); else rb->yield(); |