mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 06:46:19 +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;
|
||||
}
|
||||
|
||||
if (ownerEntity->getLocked()) {
|
||||
return;
|
||||
}
|
||||
|
||||
updateActionWorker(deltaTimeStep);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue