From 62129e3d34fb7462ec532a57fffa9b0c9660ac23 Mon Sep 17 00:00:00 2001 From: Ksawi <66205430+Ksawi999@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:30:30 +0100 Subject: [PATCH] Add BIZR/BIZG/BIZS ctype serialization --- src/simulation/elements/DTEC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/DTEC.cpp b/src/simulation/elements/DTEC.cpp index d6a847c9c..ceaa1cc7c 100644 --- a/src/simulation/elements/DTEC.cpp +++ b/src/simulation/elements/DTEC.cpp @@ -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;