Add a "idle" method to the state structure
[neverball] / ball / main.c
index af312f6..beff11d 100644 (file)
@@ -176,6 +176,8 @@ static int loop(void)
     SDL_Event e;
     int d = 1;
 
+    st_idle();
+
     /* Process SDL events. */
 
     while (d && SDL_PollEvent(&e))