On Windows, when renaming Last to the destination filename, check if the
[neverball] / ball / st_play.c
index 1907bda..b44e38e 100644 (file)
@@ -189,7 +189,7 @@ static void play_loop_timer(int id, float dt)
 
     int state, state_value;
 
-    at = (7 * at + dt) / 8; /* JEAN: What's this? */
+    at = (7 * at + dt) / 8;
 
     gui_timer(id, at);
     hud_timer(at);
@@ -251,6 +251,12 @@ static int play_loop_keybd(int c, int d)
             config_set_d(CONFIG_CAMERA, 2);
             hud_view_pulse(2);
         }
+        if (c == SDLK_r && curr_lg()->mode != MODE_CHALLENGE)
+        {
+            level_stop(GAME_NONE, 0, curr_clock(), curr_coins());
+            level_play_go();
+            goto_state(&st_play_set);
+        }
     }
     else
     {