summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'Week1-Pacman/src/map.c')
-rw-r--r--Week1-Pacman/src/map.c4
1 files changed, 2 insertions, 2 deletions
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
};
}