Changeset 9667 for code/trunk/src/orxonox/worldentities/pawns/SpaceShip.cc
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/worldentities/pawns/SpaceShip.cc
r9348 r9667 32 32 33 33 #include "core/CoreIncludes.h" 34 #include "core/ ConfigValueIncludes.h"34 #include "core/config/ConfigValueIncludes.h" 35 35 #include "core/Template.h" 36 36 #include "core/XMLPort.h" … … 46 46 namespace orxonox 47 47 { 48 CreateFactory(SpaceShip);49 50 SpaceShip::SpaceShip( BaseObject* creator) : Pawn(creator), boostBlur_(NULL)48 RegisterClass(SpaceShip); 49 50 SpaceShip::SpaceShip(Context* context) : Pawn(context), boostBlur_(NULL) 51 51 { 52 52 RegisterObject(SpaceShip); … … 96 96 97 97 if (this->boostBlur_) 98 this->boostBlur_->destroy();98 delete this->boostBlur_; 99 99 } 100 100 } … … 447 447 if (!this->bEnableMotionBlur_ && this->boostBlur_ != NULL) 448 448 { 449 this->boostBlur_->destroy();449 delete this->boostBlur_; 450 450 this->boostBlur_ = NULL; 451 451 }
Note: See TracChangeset
for help on using the changeset viewer.