summaryrefslogtreecommitdiff
path: root/src/players.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-11-04 16:48:51 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-11-04 16:48:51 +0100
commitc162e010ae85c636131ff59e8d810be4e9960caa (patch)
tree03d2e88a7fdb7730b54eb4524abf436c098b8249 /src/players.c
parent88e4037c0b526e33cd03f0b62783b198d8585768 (diff)
throwables ui
Diffstat (limited to 'src/players.c')
-rw-r--r--src/players.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/players.c b/src/players.c
index f62f53e..3e657a0 100644
--- a/src/players.c
+++ b/src/players.c
@@ -61,6 +61,8 @@ void spawn_player(u32 id, network_client client) {
players[i].sprite = create_sprite(img_player_running, 22, 108, 136, 0.02f);
players[i].direction = DIRECTION_DOWN;
players[i].connection_state = CONNECTED;
+ players[i].throwables.grenades = 3;
+ players[i].throwables.molotovs = 1;
gun g = get_gun_by_type(players[i].guntype);
players[i].total_ammo = g.max_ammunition;