Fix Coverity issues
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jun 2011 12:05:13 +0000 (12:05 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jun 2011 12:05:13 +0000 (12:05 +0000)
TTherminator/Therminator/Event.cxx

index acda2f7..cea3deb 100644 (file)
@@ -303,7 +303,7 @@ Event::DecayParticles()
          {
            tDecayer->DecayParticle(tFather, &tPart1, &tPart2, &tPart3);
 #ifndef _RESCALE_CHANNELS_
-           if (!tPart1) {
+           if ((!tPart1) && (!tPart2)) {
              tCount++;
              continue;
            }