diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-12 15:31:26 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-12-12 15:31:26 +0100 |
| commit | 10ae402862df4337772fe8e35f68ee8ab5bfc224 (patch) | |
| tree | 1ac5fda82a2dd01f7f5ffdc2b337947c569afc15 /src/zombies.c | |
| parent | ec3796faff12ba7bf5f775d757ac25834549903d (diff) | |
networking
Diffstat (limited to 'src/zombies.c')
| -rw-r--r-- | src/zombies.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zombies.c b/src/zombies.c index 4bbcf40..3685355 100644 --- a/src/zombies.c +++ b/src/zombies.c @@ -35,6 +35,7 @@ void spawn_zombie(int x, int y) { zombies[i].position = (vec3f){x,y, 0}; zombies[i].size = (vec3f){0.4, 0.4, 1}; zombies[i].time_since_last_path = 0.0f; + zombies[i].request.to_fill = &zombies[i].next_path; zombies[i].request.mutex = mutex_create(); player closest_player = get_closest_player_to_tile(x, y); |
