diff options
author | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-02 18:26:39 +0100 |
---|---|---|
committer | jacopo grandi <jak.sk8@hotmail.it> | 2021-03-02 18:26:39 +0100 |
commit | a988df656b4d37dfa2472a4cde390185cfcea8b5 (patch) | |
tree | 262b48644a5aff086b6ead687d0f2297bf946c2b /gst/fxs.c | |
parent | 7932daa7e308b1c92ab97dde00fcc0ed790895a6 (diff) |
test foundation and functional reimplementation of cost function
Diffstat (limited to 'gst/fxs.c')
-rw-r--r-- | gst/fxs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ void fx_init (fxs *fx) { } void fx_add_bullet (fxs *fx, bullet *b) { + if (fx->bulletslen >= 1024-1) return; fx->bullets[fx->bulletslen] = *b; fx->bulletslen++; } |