diff options
Diffstat (limited to 'src/ft_key_events.c')
-rw-r--r-- | src/ft_key_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_key_events.c b/src/ft_key_events.c index 07c192b..da416fa 100644 --- a/src/ft_key_events.c +++ b/src/ft_key_events.c @@ -80,8 +80,8 @@ int if (keycode <= 3) { (*fun_ptr[keycode])(clist); - (pl->pos_y < 0.4) ? (pl->pos_y = 0.4) : 0; - (pl->pos_x < 0.4) ? (pl->pos_x = 0.4) : 0; + (pl->pos_y < 1) ? (pl->pos_y = 1.1) : 0; + (pl->pos_x < 1) ? (pl->pos_x = 1.1) : 0; (pl->pos_y > ml->map_h - 1.4) ? (pl->pos_y = ml->map_h - 1.4) : 0; (pl->pos_x > ml->map_w - 1.4) ? (pl->pos_x = ml->map_w - 1.4) : 0; ft_draw_scene(clist); |