diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2024-01-07 18:57:07 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2024-01-07 18:57:07 +0100 |
| commit | c13e3bce702003aea65eef54ee462fd20cdf4fa1 (patch) | |
| tree | 4e4821e4bfb73e2d3fae6c103bdc2a474fc63997 /src/players.c | |
| parent | 89f6cc4d269f606157abf7824c5f385c7049082f (diff) | |
teehee
Diffstat (limited to 'src/players.c')
| -rw-r--r-- | src/players.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/players.c b/src/players.c index f35df16..32b62cd 100644 --- a/src/players.c +++ b/src/players.c @@ -583,7 +583,9 @@ void draw_players(platform_window* window) { float height = get_height_of_tile_under_coords(players[i].playerx, players[i].playery); players[i].height = height; - draw_player_bullet_cone(window, &players[i]); + if (players[i].interact_state == INTERACT_IDLE) { + draw_player_bullet_cone(window, &players[i]); + } draw_player(window, &players[i], i); } } |
