From 397473360fdbe60d3fc3f24012324fad3f907e37 Mon Sep 17 00:00:00 2001 From: hrocho Date: Fri, 12 Jan 2018 01:34:50 +0100 Subject: [PATCH] X precalculation fix --- calculations.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/calculations.cpp b/calculations.cpp index 125b761..f92c86e 100644 --- a/calculations.cpp +++ b/calculations.cpp @@ -613,8 +613,9 @@ double precalculated_lindhard_X(const Projectile &p){ double T = p.T; int z = (int)p.Z ; if(z>LS_MAX_Z)z=LS_MAX_Z; - //if(p.T