mirror of
https://github.com/overte-org/overte.git
synced 2025-07-14 14:36:37 +02:00
making small adjustments
This commit is contained in:
parent
1fec900ba6
commit
3cf36bed55
1 changed files with 2 additions and 1 deletions
|
@ -685,7 +685,8 @@ void MyAvatar::simulate(float deltaTime) {
|
||||||
entityTree->recurseTreeWithOperator(&moveOperator);
|
entityTree->recurseTreeWithOperator(&moveOperator);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
_characterController.setFlyingAllowed(zoneAllowsFlying && _enableFlying);
|
bool isPhysicsEnabled = qApp->isPhysicsEnabled();
|
||||||
|
_characterController.setFlyingAllowed(zoneAllowsFlying && (_enableFlying || !isPhysicsEnabled));
|
||||||
_characterController.setCollisionlessAllowed(collisionlessAllowed);
|
_characterController.setCollisionlessAllowed(collisionlessAllowed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue