projectile: fix bullet spawn effects

Broken by 0d77416e3b
This commit is contained in:
Andrei Alexeyev 2023-05-28 02:08:19 +02:00
parent 83708429af
commit 6a6a736e74
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -150,7 +150,7 @@ static inline bool proj_update(Projectile *p, int t) {
}
}
if(t == 0) {
if(t == 1) {
// FIXME: not sure if this should happen before or after move_update,
// or maybe even directly at spawn.
spawn_bullet_spawning_effect(p);