fix invisible PHOT bug when going through GLAS sometimes

This commit is contained in:
jacob1 2014-04-26 12:40:29 -04:00
parent 270a3837bc
commit 097e4968e0

View File

@ -4292,7 +4292,8 @@ killed:
}
r = get_wavelength_bin(&parts[i].ctype);
if (r == -1) {
if (r == -1 || !(parts[i].ctype&0x3FFFFFFF))
{
kill_part(i);
continue;
}