diff --git a/panda/src/collide/collisionHandlerGravity.cxx b/panda/src/collide/collisionHandlerGravity.cxx index 3b32af4568..7ea4aec803 100755 --- a/panda/src/collide/collisionHandlerGravity.cxx +++ b/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) {