fix invisible PHOT bug when going through GLAS sometimes
This commit is contained in:
parent
270a3837bc
commit
097e4968e0
@ -4292,7 +4292,8 @@ killed:
|
|||||||
}
|
}
|
||||||
|
|
||||||
r = get_wavelength_bin(&parts[i].ctype);
|
r = get_wavelength_bin(&parts[i].ctype);
|
||||||
if (r == -1) {
|
if (r == -1 || !(parts[i].ctype&0x3FFFFFFF))
|
||||||
|
{
|
||||||
kill_part(i);
|
kill_part(i);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user