[Orxonox-commit 2162] r6878 - code/branches/rocket/src/modules/weapons/projectiles

scheusso at orxonox.net scheusso at orxonox.net
Mon May 10 15:38:16 CEST 2010


Author: scheusso
Date: 2010-05-10 15:38:16 +0200 (Mon, 10 May 2010)
New Revision: 6878

Modified:
   code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
Log:
fixed sigabrt that happened when the rocket collided against anything


Modified: code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
===================================================================
--- code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc	2010-05-10 13:35:48 UTC (rev 6877)
+++ code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc	2010-05-10 13:38:16 UTC (rev 6878)
@@ -157,7 +157,6 @@
             Pawn* victim = orxonox_cast<Pawn*>(otherObject);
             if (victim)
                 victim->hit(this->owner_, contactPoint, dmg);
-             this->destroy();
         }
         return false;
     }




More information about the Orxonox-commit mailing list