don't spawn proj shrink effect when bullets disappear offscreen

This commit is contained in:
Andrei Alexeyev 2017-12-31 11:23:57 +02:00
parent 25d1dc4fad
commit 5d1b25fddd
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -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,