Index: trunk/MagicSoft/Simulation/Detector/Starfield/starfield.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Starfield/starfield.cxx	(revision 342)
+++ trunk/MagicSoft/Simulation/Detector/Starfield/starfield.cxx	(revision 343)
@@ -9,5 +9,5 @@
 #include "starfield.h"
 
-#define PROGRAMID "$Id: starfield.cxx,v 1.1 2000-01-21 13:36:36 petry Exp $"
+#define PROGRAMID "$Id: starfield.cxx,v 1.2 2000-01-21 16:39:25 petry Exp $"
 
 /////////////////////////////////////////////////////////////////////////
@@ -280,8 +280,8 @@
   } // end star loop
 
-  if (pars.verbose) cout << "Total number of photons accepted = " <<  totalphotinside << "\n";
+  cout << "Total number of photons accepted = " <<  totalphotinside << "\n";
 
   convertcorsika( 
-		 ((int)pars.ct_ra_h*10)*1000 + (int)(pars.ct_dec_deg*10), // the file id
+		 ((int)pars.ct_ra_h*10)*1000 + (int)(abs(pars.ct_dec_deg)*10), // the file id
 		  totalphotinside, photons, pars.integtime_s, pars.verbose);
    
