mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
changed assert
This commit is contained in:
parent
5c5eafe9f2
commit
8a7807a7c1
@ -265,7 +265,7 @@ handle_entries() {
|
|||||||
_current_velocity -= _gravity * dt;
|
_current_velocity -= _gravity * dt;
|
||||||
// Record the airborne height in case someone else needs it:
|
// Record the airborne height in case someone else needs it:
|
||||||
_airborne_height = -(max_height + _offset) + adjust;
|
_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) {
|
if (_airborne_height < 0.001f && _current_velocity < 0.001f) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user