- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/objects/infos/PlayerInfo.cc
r2907 r2908 110 110 void PlayerInfo::createController() 111 111 { 112 if (this->controller_)113 {114 delete this->controller_;115 this->controller_ = 0;116 }117 112 this->controller_ = this->defaultController_.fabricate(this); 118 113 assert(this->controller_); … … 146 141 if (this->controller_) 147 142 this->controller_->setControllableEntity(entity); 148 149 this->changedControllableEntity();150 143 } 151 144 … … 162 155 if (callback) 163 156 entity->removePlayer(); 164 165 this->changedControllableEntity();166 157 } 167 158 }
Note: See TracChangeset
for help on using the changeset viewer.