Changeset 9667 for code/trunk/src/orxonox/infos/PlayerInfo.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/infos/PlayerInfo.cc
r9348 r9667 40 40 namespace orxonox 41 41 { 42 PlayerInfo::PlayerInfo(BaseObject* creator) : Info(creator) 42 RegisterAbstractClass(PlayerInfo).inheritsFrom(Class(Info)); 43 44 PlayerInfo::PlayerInfo(Context* context) : Info(context) 43 45 { 44 46 RegisterObject(PlayerInfo); … … 136 138 this->controller_ = 0; 137 139 } 138 this->controller_ = this->defaultController_.fabricate(this );140 this->controller_ = this->defaultController_.fabricate(this->getContext()); 139 141 assert(this->controller_); 140 142 this->controller_->setPlayer(this);
Note: See TracChangeset
for help on using the changeset viewer.