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) | |||
2059 | if(next_thrust_count) | 2059 | if(next_thrust_count) |
2060 | next_thrust_count--; | 2060 | next_thrust_count--; |
2061 | 2061 | ||
2062 | if (end > *rb->current_tick) | 2062 | if (TIME_BEFORE(*rb->current_tick, end)) |
2063 | rb->sleep(end-*rb->current_tick); | 2063 | rb->sleep(end-*rb->current_tick); |
2064 | else | 2064 | else |
2065 | rb->yield(); | 2065 | rb->yield(); |