diff --git a/cscape.c b/cscape.c index 9dabbc2..2ca267b 100644 --- a/cscape.c +++ b/cscape.c @@ -113,7 +113,7 @@ void fly(SDL_Surface *screen) { if(SDL_MUSTLOCK(screen)) SDL_UnlockSurface(screen); SDL_UpdateRect(screen, 0, 0, WIDTH, HEIGHT); - usleep(1000/25); + usleep(1000*1000/25); } int main(void) {