From 89275048014ea17b3b8d322319ee1e5182ef3980 Mon Sep 17 00:00:00 2001 From: funkyfranky Date: Mon, 28 May 2018 16:51:01 +0200 Subject: [PATCH] Minor --- Moose Development/Moose/Functional/Artillery.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Functional/Artillery.lua b/Moose Development/Moose/Functional/Artillery.lua index a31ce26c0..b6c0b86b0 100644 --- a/Moose Development/Moose/Functional/Artillery.lua +++ b/Moose Development/Moose/Functional/Artillery.lua @@ -1085,7 +1085,7 @@ function ARTY:_NuclearBlast(_coord) -- At R=R0 ==> explosion strength is 1% of S0 at impact point. local alpha=math.log(100) local strength=S0*math.exp(-alpha*R/R0) - env.info(string.format("FF: nuklear explosion strength s(%.1f m) = %.10f (s/s0=%.1f %%), alpha=%.3f", R, strength, strength/S0*100, alpha)) + self:T2(ARTY.id..string.format("Nuclear explosion strength s(%.1f m) = %.5f (s/s0=%.1f %%), alpha=%.3f", R, strength, strength/S0*100, alpha)) return strength end @@ -1096,7 +1096,7 @@ function ARTY:_NuclearBlast(_coord) -- Get distance to impact and calc exponential explosion strength. local R=_fire:Get2DDistance(_coord) local S=_explosion(R) - env.info(string.format("FF: explosion r=%.1f, s=%.3f", R, S)) + self:T2(ARTY.id..string.format("Explosion r=%.1f, s=%.3f", R, S)) -- Get a random Big Smoke and fire object. local _preset=math.random(0,7)