mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-14 04:13:59 +02:00
fix invisible PHOT bug when going through GLAS sometimes
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user