From 9edf65fb3fb6077a27095f7db2a3cbd2e4626025 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Wed, 25 Jul 2012 18:03:43 +0100 Subject: [PATCH] TPT: FIRW: less advection, and don't go faster when multiple fire particle... 9988dc17aa --- src/simulation/elements/FIRW.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/simulation/elements/FIRW.cpp b/src/simulation/elements/FIRW.cpp index b9ec468b9..bc047df21 100644 --- a/src/simulation/elements/FIRW.cpp +++ b/src/simulation/elements/FIRW.cpp @@ -13,11 +13,11 @@ Element_FIRW::Element_FIRW() MenuSection = SC_EXPLOSIVE; Enabled = 1; - Advection = 0.4f; - AirDrag = 0.02f * CFDS; + Advection = 0.2f; + AirDrag = 0.01f * CFDS; AirLoss = 0.96f; Loss = 0.95f; - Collision = -0.5f; + Collision = -0.1f; Gravity = 0.1f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; @@ -78,6 +78,7 @@ int Element_FIRW::update(UPDATE_FUNC_ARGS) multiplier = (parts[i].life+20)*0.2f/sqrtf(gx*gx+gy*gy); parts[i].vx -= gx*multiplier; parts[i].vy -= gy*multiplier; + return 0; } } }