mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 00:00:00 +02:00
fix backwards comparison logic
This commit is contained in:
parent
245729cba8
commit
0249b8c9c5
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ void CharacterController::jump() {
|
|||
} else {
|
||||
quint64 now = usecTimestampNow();
|
||||
const quint64 JUMP_TO_HOVER_PERIOD = USECS_PER_SECOND;
|
||||
if (now - _jumpToHoverStart < JUMP_TO_HOVER_PERIOD) {
|
||||
if (now - _jumpToHoverStart > JUMP_TO_HOVER_PERIOD) {
|
||||
_isHovering = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue