Changeset 9377 in orxonox.OLD for branches/proxy/src/lib/physics
- Timestamp:
- Jul 21, 2006, 11:43:38 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/physics/physics_interface.cc
r9357 r9377 68 68 { 69 69 // todo: find out if children are PhysicsInterface in an efficient way 70 if (strcmp( pn->getClass Name(), "PhysicsInterface")) {70 if (strcmp( pn->getClassCName(), "PhysicsInterface")) { 71 71 massSum += ((PhysicsInterface*)pn)->getTotalMass(); 72 72 } … … 77 77 if (massSum != this->massChildren ) { 78 78 this->massChildren = massSum; 79 if (strcmp( massCalcPNode->parent->getClass Name(), "PhysicsInterface"))79 if (strcmp( massCalcPNode->parent->getClassCName(), "PhysicsInterface")) 80 80 ((PhysicsInterface*)massCalcPNode->parent)->recalcMass(); 81 81 } else {
Note: See TracChangeset
for help on using the changeset viewer.