back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/field.c
diff options
context:
space:
mode:
Diffstat (limited to 'field.c')
-rw-r--r--field.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/field.c b/field.c
index fd31606..1db3b72 100644
--- a/field.c
+++ b/field.c
@@ -295,8 +295,8 @@ enum intersection_type get_intersection(const game_space field,
/*
* last conditions x-1 == left_outside_tunnel_x and
- * x+1 == right_outside_tunnel_x are used by only pacman (while
- * cheking remaining direction)
+ * x+1 == right_outside_tunnel_x are used by only pacman
+ * because it's only checked for ghosts at intersections.
*/
struct free_directions find_free_directions(const game_space field, int x,
int y)