diff Discovery/Src/simulation.c @ 177:458f16cda15c

Merged in janlmulder/ostc4/max-depth (pull request #3) Bugfix: make max depth move with current depth Approved-by: heinrichsweikamp <bitbucket@heinrichsweikamp.com>
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Tue, 12 Mar 2019 15:04:19 +0000
parents 1719b9d1094b
children 2bb1db22b5f5
line wrap: on
line diff
--- a/Discovery/Src/simulation.c	Sun Mar 10 20:30:42 2019 +0100
+++ b/Discovery/Src/simulation.c	Tue Mar 12 15:04:19 2019 +0000
@@ -616,7 +616,6 @@
     {
         // ascent time
         timeThis = ((float)(actualDepthPoint - nextDepthPoint)) / sim_ascent_rate_meter_per_min_local;
-        actualDepthPoint = actualDepthPoint; // that is where we are
 
         // deco stop time
         for(ptrDecoInfo=0;ptrDecoInfo < DECOINFO_STRUCT_MAX_STOPS; ptrDecoInfo++)