diff options
Diffstat (limited to 'src/ft_extra_keys.c')
-rw-r--r-- | src/ft_extra_keys.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_extra_keys.c b/src/ft_extra_keys.c index 39a297b..507f808 100644 --- a/src/ft_extra_keys.c +++ b/src/ft_extra_keys.c @@ -53,14 +53,14 @@ int int ft_f1_key(t_cub *clist) { - if (clist->minimap == 0) + if (clist->ishud == 0) { - clist->minimap = 1; + clist->ishud = 1; ft_draw_scene(clist); } - else if (clist->minimap == 1) + else if (clist->ishud == 1) { - clist->minimap = 0; + clist->ishud = 0; ft_draw_scene(clist); } return (0); |