don't spawn proj shrink effect when bullets disappear offscreen
This commit is contained in:
parent
25d1dc4fad
commit
5d1b25fddd
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ void process_projectiles(Projectile **projs, bool collision) {
|
|||
if(collision) {
|
||||
calc_projectile_collision(proj, &col);
|
||||
|
||||
if(col.fatal) {
|
||||
if(col.fatal && col.type != PCOL_VOID) {
|
||||
PARTICLE(
|
||||
.texture_ptr = proj->tex,
|
||||
.pos = proj->pos,
|
||||
|
|
Loading…
Reference in a new issue