Ohne Checkpoint wieder am Anfang spawnen.
authorWintermute <wintermute@hannover.ccc.de>
Sat, 19 Oct 2013 13:19:28 +0000 (15:19 +0200)
committerWintermute <wintermute@hannover.ccc.de>
Sat, 19 Oct 2013 13:19:28 +0000 (15:19 +0200)
badge/jumpnrun/jumpnrun.c

index 272ceaf..28d5976 100644 (file)
@@ -340,6 +340,7 @@ uint8_t jumpnrun_play(char const *lvname) {
 
   for(gs.lives = 3; gs.lives != 0; --gs.lives) {
     gs.status = JUMPNRUN_PLAYING;
+    gs.left = 0;
     memset(&gs.player, 0, sizeof(gs.player));
     gs.player.current_box = rectangle_new(lv.start_pos,
                                           hacker_extents());
This page took 0.02732 seconds and 4 git commands to generate.