Add BIZR/BIZG/BIZS ctype serialization

This commit is contained in:
Ksawi 2023-01-17 16:30:30 +01:00 committed by jacob1
parent 4c8cbf49be
commit 62129e3d34

View File

@ -87,7 +87,7 @@ static int update(UPDATE_FUNC_ARGS)
continue;
if (TYP(r) == parts[i].ctype && (parts[i].ctype != PT_LIFE || parts[i].tmp == parts[ID(r)].ctype || !parts[i].tmp))
parts[i].life = 1;
if (TYP(r) == PT_PHOT || (TYP(r) == PT_BRAY && parts[ID(r)].tmp!=2))
if (TYP(r) == PT_PHOT || (TYP(r) == PT_BRAY && parts[ID(r)].tmp!=2) || TYP(r) == PT_BIZR || TYP(r) == PT_BIZRG || TYP(r) == PT_BIZRS)
{
setFilt = true;
photonWl = parts[ID(r)].ctype;