Add BIZR/BIZG/BIZS ctype serialization
This commit is contained in:
parent
4c8cbf49be
commit
62129e3d34
@ -87,7 +87,7 @@ static int update(UPDATE_FUNC_ARGS)
|
|||||||
continue;
|
continue;
|
||||||
if (TYP(r) == parts[i].ctype && (parts[i].ctype != PT_LIFE || parts[i].tmp == parts[ID(r)].ctype || !parts[i].tmp))
|
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;
|
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;
|
setFilt = true;
|
||||||
photonWl = parts[ID(r)].ctype;
|
photonWl = parts[ID(r)].ctype;
|
||||||
|
Loading…
Reference in New Issue
Block a user