From 235f8481502263fcdb4823ff0bc4e8f831bc934d Mon Sep 17 00:00:00 2001 From: scratko Date: Thu, 11 Apr 2024 15:04:37 +0300 Subject: Removed the reverse motion for ghosts Yellow intersections added. --- pac.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pac.c') 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); } -- cgit v1.2.3