changeset 275 | fa44b905bc2e |
parent 273 | eeb699e1d908 |
child 279 | e36f5e1a1c8d |
--- a/src/PhysicsObject.cc Mon Dec 08 00:16:43 2008 +0000 +++ b/src/PhysicsObject.cc Mon Dec 08 00:36:24 2008 +0000 @@ -133,8 +133,8 @@ Force total; while (!forceq.empty()) { force = forceq.front(); - if (force.second > PHYSICS_TICK_MS) { - force.second -= PHYSICS_TICK_MS; + if (force.second > dt) { + force.second -= dt; newfq.push(force); } total += force.first;