[Orxonox-commit 1770] r6488 - code/branches/tutorial/src/orxonox/worldentities
scheusso at orxonox.net
scheusso at orxonox.net
Sun Mar 7 23:47:12 CET 2010
Author: scheusso
Date: 2010-03-07 23:47:11 +0100 (Sun, 07 Mar 2010)
New Revision: 6488
Modified:
code/branches/tutorial/src/orxonox/worldentities/Drone.cc
Log:
forgot an important detail
Modified: code/branches/tutorial/src/orxonox/worldentities/Drone.cc
===================================================================
--- code/branches/tutorial/src/orxonox/worldentities/Drone.cc 2010-03-07 22:27:20 UTC (rev 6487)
+++ code/branches/tutorial/src/orxonox/worldentities/Drone.cc 2010-03-07 22:47:11 UTC (rev 6488)
@@ -63,7 +63,7 @@
*/
Drone::~Drone()
{
- if( this->myController_ )
+ if( this->isInitialized() && this->myController_ )
delete this->myController_;
}
More information about the Orxonox-commit
mailing list