Browse Source

changed assert

Dave Schuyler 21 years ago
parent
commit
8a7807a7c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/collide/collisionHandlerGravity.cxx

+ 1 - 1
panda/src/collide/collisionHandlerGravity.cxx

@@ -265,7 +265,7 @@ handle_entries() {
           _current_velocity -= _gravity * dt;
           // Record the airborne height in case someone else needs it: 
           _airborne_height = -(max_height + _offset) + adjust;
-          assert(_airborne_height>=0.0f);
+          assert(_airborne_height >= -0.001f);
         }
 
         if (_airborne_height < 0.001f && _current_velocity < 0.001f) {