[Orxonox-commit 60] r2764 - branches/tutorial/src/orxonox/objects/worldentities

rgrieder at orxonox.net rgrieder at orxonox.net
Sun Mar 8 22:44:49 CET 2009


Author: rgrieder
Date: 2009-03-08 22:44:48 +0100 (Sun, 08 Mar 2009)
New Revision: 2764

Modified:
   branches/tutorial/src/orxonox/objects/worldentities/Drone.cc
Log:
segfault

Modified: branches/tutorial/src/orxonox/objects/worldentities/Drone.cc
===================================================================
--- branches/tutorial/src/orxonox/objects/worldentities/Drone.cc	2009-03-08 21:14:25 UTC (rev 2763)
+++ branches/tutorial/src/orxonox/objects/worldentities/Drone.cc	2009-03-08 21:44:48 UTC (rev 2764)
@@ -43,6 +43,7 @@
         //put your code in here:
         // - register the drone class to the core
         // - create a new controller and pass our this pointer to it as creator
+        this->myController = 0;
         RegisterObject(Drone);
         
         this->localLinearAcceleration_.setValue(0, 0, 0);




More information about the Orxonox-commit mailing list