Skip to content

Commit

Permalink
formate
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkucerak committed Apr 30, 2021
1 parent 530f847 commit e57921b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions menu_utilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ game_init_data_t run_init_game_menu(fb_data *frame_buff, unsigned char *lcd_mem_
draw_menu(frame_buff, font, game);
lcd_from_fb(frame_buff, lcd_mem_base);
}

return game;
}

Expand Down Expand Up @@ -118,12 +117,10 @@ game_init_data_t sub_menu_map(fb_data *frame_buff, unsigned char *lcd_mem_base,
int i = 0;
map_template *map_templates[] = {&map_circles, &map_star, &map_conch};
size_t map_templates_len = sizeof(map_templates) / sizeof(map_templates[0]);

while (map_templates[i]->name != game_data.map->name)
{
++i;
}

char c = ' ';
while (c != 's')
{
Expand Down

0 comments on commit e57921b

Please sign in to comment.