Index: trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
===================================================================
--- trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc	(revision 8293)
+++ trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc	(revision 8294)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.60 2007-02-03 14:16:12 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.61 2007-02-03 15:10:14 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -180,5 +180,5 @@
 
     if (sig[p]>sig[p+1] || sig[p+1]>sig[p+2])
-        return sat[p+1]>maxcont/2 ? sat0-1 : sat0-0.5;
+        return sig[p+1]>maxcont/2 ? sat0-1 : sat0-0.5;
 
     // Find the place at which the signal is maxcont/2
