mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
remove one line of cruft
This commit is contained in:
parent
9c6ea7380f
commit
858dbeb674
1 changed files with 0 additions and 1 deletions
|
@ -357,7 +357,6 @@ void CharacterController::scanDown(btCollisionWorld* world) {
|
|||
btVector3 end = start - MAX_SCAN_HEIGHT * up;
|
||||
|
||||
world->rayTest(start, end, callback);
|
||||
bool wasHovering = _isHovering;
|
||||
if (!callback.hasHit()) {
|
||||
_isHovering = true;
|
||||
} else if (_isHovering && callback.m_closestHitFraction * MAX_SCAN_HEIGHT < MIN_HOVER_HEIGHT) {
|
||||
|
|
Loading…
Reference in a new issue