From f5cccbf75a784097de2e8dc66dd6defbdd962378 Mon Sep 17 00:00:00 2001 From: Cracker1000 <39940063+cracker1000@users.noreply.github.com> Date: Sat, 11 Nov 2023 23:08:35 +0530 Subject: [PATCH] Update LDTC.cpp Fix the identifiers --- src/simulation/elements/LDTC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/LDTC.cpp b/src/simulation/elements/LDTC.cpp index f31802d9f..19d9af241 100644 --- a/src/simulation/elements/LDTC.cpp +++ b/src/simulation/elements/LDTC.cpp @@ -67,7 +67,7 @@ constexpr int FLAG_KEEP_SEARCHING = 0x8; /* Returns true for particles that activate the special FILT color copying mode */ static bool phot_data_type(int rt) { - return rt == PT_FILT || rt == PT_PHOT || rt == PT_BRAY || rt == PT_BIZR || rt == PT_BIZG || rt == BIZS; + return rt == PT_FILT || rt == PT_PHOT || rt == PT_BRAY || rt == PT_BIZR || rt == PT_BIZRG || rt == PT_BIZRS; } /* Returns true for particles that start a ray search ("dtec" mode)