Changeset 1558 for code/trunk/src/orxonox/objects/WorldEntity.cc
- Timestamp:
- Jun 7, 2008, 2:06:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/WorldEntity.cc
r1552 r1558 80 80 void WorldEntity::tick(float dt) 81 81 { 82 if (!this->bStatic_ )82 if (!this->bStatic_ && this->isActive()) 83 83 { 84 84 // COUT(4) << "acceleration: " << this->acceleration_ << " velocity: " << this->velocity_ << std::endl; … … 132 132 void WorldEntity::registerAllVariables() 133 133 { 134 // register inheritec variables from BaseObject 135 registerVar( (void*) &(this->bActive_), sizeof(this->bActive_), network::DATA, 0x3); 136 registerVar( (void*) &(this->bVisible_), sizeof(this->bVisible_), network::DATA, 0x3); 134 137 // register coordinates 135 138 registerVar( (void*) &(this->getPosition().x), sizeof(this->getPosition().x), network::DATA, 0x3);
Note: See TracChangeset
for help on using the changeset viewer.