mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 11:13:09 +02:00
actions shouldn't change locked entities
This commit is contained in:
parent
e7231dd1f9
commit
4142d8c686
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ void ObjectAction::updateAction(btCollisionWorld* collisionWorld, btScalar delta
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ownerEntity->getLocked()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
updateActionWorker(deltaTimeStep);
|
updateActionWorker(deltaTimeStep);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue