make it easier to create new energy particles (like for mods), they would just disappear when hitting anything before

This commit is contained in:
jacob1 2012-12-12 22:05:39 -05:00
parent d57fe7618c
commit 002743ef08

View File

@ -4320,7 +4320,7 @@ killed:
kill_part(i);
continue;
}
if (!(parts[i].ctype&0x3FFFFFFF)&&t!=PT_NEUT&&t!=PT_ELEC) {
if (!(parts[i].ctype&0x3FFFFFFF) && t == PT_PHOT) {
kill_part(i);
continue;
}