summaryrefslogtreecommitdiff
path: root/include/throwables.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2023-11-05 10:16:59 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2023-11-05 10:16:59 +0100
commit2b23a7efd6cc4d55e10e01c978a3614e7b97c93c (patch)
tree95bbf209c3fc20feb0ec367699878e9c0f8c0fc7 /include/throwables.h
parentd87f335751ae28ee8dc259a585e6bdf2fc7190da (diff)
molotov damage
Diffstat (limited to 'include/throwables.h')
-rw-r--r--include/throwables.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/throwables.h b/include/throwables.h
index 4053826..c741a55 100644
--- a/include/throwables.h
+++ b/include/throwables.h
@@ -33,10 +33,9 @@ typedef struct t_throwable {
sprite sprite;
int damage;
float rotation;
+ float sec_since_last_tick;
} throwable;
-vec3f grenade_explosion_size = (vec3f){2.0f, 2.0f, 2.0f};
-
throwable throwables[50] = {0};
int max_throwables = 50;