back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/pac.c
diff options
context:
space:
mode:
Diffstat (limited to 'pac.c')
-rw-r--r--pac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pac.c b/pac.c
index 241609b..ed929ae 100644
--- a/pac.c
+++ b/pac.c
@@ -161,4 +161,5 @@ void make_pac_move(game_space field, struct pacman *pac,
}
if(check_coin(field, pac->position, eaten_coins))
queue_push(eaten_coins, &pac->position);
+ change_point_if_outside_tunnel(&pac->position);
}