back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/ghosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghosts.c')
-rw-r--r--ghosts.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/ghosts.c b/ghosts.c
index 5c60200..72e4f81 100644
--- a/ghosts.c
+++ b/ghosts.c
@@ -48,7 +48,6 @@ void initialize_ghost(struct ghost_type *ghost, enum ghost_color color)
ghost->prison_params.position.y = orange_prison_y;
break;
}
- ghost->frightened_status = 0;
ghost->direction = none;
ghost->prison_params.prison_counter = 0;
ghost->prison_params.active = 0;
@@ -448,17 +447,6 @@ void reverse_all_ghosts(struct ghost_type *red_ghost,
left : orange_ghost->direction ^ 1;
}
-void set_frightened_status(int status, struct ghost_type *red_ghost,
- struct ghost_type *pink_ghost,
- struct ghost_type *blue_ghost,
- struct ghost_type *orange_ghost)
-{
- red_ghost->frightened_status = status;
- pink_ghost->frightened_status = status;
- blue_ghost->frightened_status = status;
- orange_ghost->frightened_status = status;
-}
-
int is_pac_nearby(struct pacman pac, struct ghost_type ghost)
{
if(ghost.capture_info.status)