mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 11:08:06 +02:00
function => macro to conditionally take debug arg
This commit is contained in:
parent
d730b7b87b
commit
813a94a79e
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ void CharacterController::updateState() {
|
|||
return;
|
||||
}
|
||||
if (_pendingFlags & PENDING_FLAG_RECOMPUTE_FLYING) {
|
||||
setState(CharacterController::State::Hover, "recomputeFlying");
|
||||
SET_STATE(CharacterController::State::Hover, "recomputeFlying");
|
||||
_hasSupport = false;
|
||||
_stepHeight = _minStepHeight; // clears memory of last step obstacle
|
||||
_pendingFlags &= ~PENDING_FLAG_RECOMPUTE_FLYING;
|
||||
|
|
Loading…
Reference in a new issue