mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:58:09 +02:00
valgrind says _ghostObject is used before it's initialized
This commit is contained in:
parent
96bfc53391
commit
1e166eef0f
1 changed files with 3 additions and 1 deletions
|
@ -235,7 +235,9 @@ CharacterController::CharacterController(AvatarData* avatarData) {
|
||||||
_jumpToHoverStart = 0;
|
_jumpToHoverStart = 0;
|
||||||
setMaxSlope(btRadians(45.0f));
|
setMaxSlope(btRadians(45.0f));
|
||||||
_lastStepUp = 0.0f;
|
_lastStepUp = 0.0f;
|
||||||
_pendingFlags = 0;
|
|
||||||
|
_pendingFlags = PENDING_FLAG_UPDATE_SHAPE;
|
||||||
|
updateShapeIfNecessary();
|
||||||
}
|
}
|
||||||
|
|
||||||
CharacterController::~CharacterController() {
|
CharacterController::~CharacterController() {
|
||||||
|
|
Loading…
Reference in a new issue