From d435f30834372f7168397706aefb3389c6e3ed05 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 22 Jul 2018 00:05:03 -0400 Subject: [PATCH] fix LDTC temp/airdrag --- src/simulation/elements/LDTC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/elements/LDTC.cpp b/src/simulation/elements/LDTC.cpp index b618957b0..829e4d413 100644 --- a/src/simulation/elements/LDTC.cpp +++ b/src/simulation/elements/LDTC.cpp @@ -13,7 +13,7 @@ Element_LDTC::Element_LDTC() Advection = 0.0f; AirDrag = 0.00f * CFDS; - AirLoss = 0.00f; + AirLoss = 0.96f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; @@ -28,7 +28,7 @@ Element_LDTC::Element_LDTC() Weight = 100; - Temperature = 283.15f; + Temperature = R_TEMP + 273.15f; HeatConduct = 0; Description = "Linear detector. Scans in 8 directions for particles with its ctype and creates a spark on the opposite side.";