mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +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;
|
return;
|
||||||
}
|
}
|
||||||
if (_pendingFlags & PENDING_FLAG_RECOMPUTE_FLYING) {
|
if (_pendingFlags & PENDING_FLAG_RECOMPUTE_FLYING) {
|
||||||
setState(CharacterController::State::Hover, "recomputeFlying");
|
SET_STATE(CharacterController::State::Hover, "recomputeFlying");
|
||||||
_hasSupport = false;
|
_hasSupport = false;
|
||||||
_stepHeight = _minStepHeight; // clears memory of last step obstacle
|
_stepHeight = _minStepHeight; // clears memory of last step obstacle
|
||||||
_pendingFlags &= ~PENDING_FLAG_RECOMPUTE_FLYING;
|
_pendingFlags &= ~PENDING_FLAG_RECOMPUTE_FLYING;
|
||||||
|
|
Loading…
Reference in a new issue