diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-07 20:24:19 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2023-11-07 20:24:19 +0100 |
| commit | 92489617eec44b913515404143baf5b094a16473 (patch) | |
| tree | e6d3d0424491052eb6f495ab3a64b725376ee76a /src/bullets.c | |
| parent | cf3cfecbcac3835c84dce3711884b7ce0a81b6b8 (diff) | |
points
Diffstat (limited to 'src/bullets.c')
| -rw-r--r-- | src/bullets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bullets.c b/src/bullets.c index db23938..6cb4b66 100644 --- a/src/bullets.c +++ b/src/bullets.c @@ -246,6 +246,7 @@ void update_bullets_server(platform_window* window) { bullets[i].damage = b.damage; b = bullets[i]; + add_points_to_player(p, POINTS_PER_HIT); add_zombie_audio_event_to_queue(EVENT_IMPACT, ZOMBIE_TYPE_NORMAL, p->id, (vec3f){.x = p->playerx, .y = p->playery, .z = p->height}); } } |
