Sprunghöhenfoo.
authorWintermute <wintermute@hannover.ccc.de>
Sun, 13 Oct 2013 00:48:04 +0000 (02:48 +0200)
committerWintermute <wintermute@hannover.ccc.de>
Sun, 13 Oct 2013 00:48:04 +0000 (02:48 +0200)
badge/jumpnrun/jumpnrun.c
badge/jumpnrun/jumpnrun.h

index 87b4d36..3f950a7 100644 (file)
@@ -271,7 +271,7 @@ uint8_t jumpnrun_play(char const *lvname) {
         uint8_t new_buttons = new_state & (old_state ^ new_state);
 
         if((new_buttons & BADGE_EVENT_KEY_BTN_A) && gs.touching_ground) {
         uint8_t new_buttons = new_state & (old_state ^ new_state);
 
         if((new_buttons & BADGE_EVENT_KEY_BTN_A) && gs.touching_ground) {
-          gs.jumpable_frames = 12;
+         gs.jumpable_frames = 12;
         }
 
         break;
         }
 
         break;
index e8c2c05..598e8da 100644 (file)
@@ -46,7 +46,6 @@ typedef struct jumpnrun_game_state {
 
 rectangle hacker_rect_current(jumpnrun_game_state const *state);
 
 
 rectangle hacker_rect_current(jumpnrun_game_state const *state);
 
-
 void jumpnrun_passive_movement(vec2d *inertia);
 
 uint8_t jumpnrun_play(char const *lvname);
 void jumpnrun_passive_movement(vec2d *inertia);
 
 uint8_t jumpnrun_play(char const *lvname);
This page took 0.030984 seconds and 4 git commands to generate.