From 6f7d1bb16ff266f4126a46c6acb132dd9f80cd86 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Mon, 30 Dec 2024 18:46:31 +0300 Subject: Smoother Movement Tis all --- Week1-Pacman/src/map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Week1-Pacman/src/map.c') diff --git a/Week1-Pacman/src/map.c b/Week1-Pacman/src/map.c index 7df77af..d5efc9d 100644 --- a/Week1-Pacman/src/map.c +++ b/Week1-Pacman/src/map.c @@ -77,9 +77,9 @@ void add_map_row(const char* line, struct map* map) { map->colliders[map->collider_count - 1] = (SDL_Rect) { .x = i * 26, - .y = (map->height - 1) * 26, + .y = (map->height - 1) * 20, .w = 26, - .h = 26 + .h = 20 }; } -- cgit v1.2.3