Changeset 4384 in orxonox.OLD for orxonox/trunk/src/lib/physics
- Timestamp:
 - May 29, 2005, 9:24:13 PM (20 years ago)
 - File:
 - 
          
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
orxonox/trunk/src/lib/physics/physics_connection.cc
r4378 r4384 51 51 void PhysicsConnection::apply(const float& dt) const 52 52 { 53 if (likely(this->type == PCON_PhysIField ))53 if (likely(this->type == PCON_PhysIField && this->field->getMagnitude() != 0.0)) 54 54 this->subject->applyField(this->field, dt); 55 55 else ;  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






