Code causing warning messages during compilation corrected.
[u/mrichter/AliRoot.git] / TFluka / endraw.cxx
index 2bd40d253094f27c4a10dac5d3e7d04bcc70511d..ff72ceb8f8fffe8055a4619bda9a402846ec36ba 100644 (file)
@@ -17,6 +17,7 @@ void endraw(Int_t& icode, Int_t& mreg, Double_t& rull, Double_t& xsco, Double_t&
   ((TFluka*) gMC)->SetXsco(xsco);
   ((TFluka*) gMC)->SetYsco(ysco);
   ((TFluka*) gMC)->SetZsco(zsco);
+  ((TFluka*) gMC)->SetMreg(mreg);
   (TVirtualMCApplication::Instance())->Stepping();
 } // end of endraw
 } // end of extern "C"