diff src/p2_deco.c @ 210:7dbc1d780ca5

do not clear char_O_deco_gas in copy_deco_table
author heinrichsweikamp
date Sun, 07 Dec 2014 23:04:16 +0100
parents 42a2cfc3e85d
children 31088352ee32
line wrap: on
line diff
--- a/src/p2_deco.c	Sun Dec 07 18:03:05 2014 +0100
+++ b/src/p2_deco.c	Sun Dec 07 23:04:16 2014 +0100
@@ -634,7 +634,6 @@
         for(y++; y<NUM_STOPS; y++)
         {
             char_O_deco_time_for_log [y] = 0;
-            char_O_deco_gas  [y] = 0;
         }
     }
 }
@@ -2061,7 +2060,7 @@
         {
             overlay unsigned char stop_gas;
 
-            //---- Get next stop, possibly in reverse order ------------------
+            //---- Get next stop ---------------------------------------------
             {
                 time             = char_O_deco_time[(NUM_STOPS-1)-i];
                 temp_depth_limit = char_O_deco_depth[(NUM_STOPS-1)-i];