mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
fix double targets and freezing bullets
This commit is contained in:
parent
9beb493a45
commit
9a60896a40
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ float EntityMotionState::computeMass(const ShapeInfo& shapeInfo) const {
|
|||
|
||||
void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_t frame) {
|
||||
#ifdef USE_BULLET_PHYSICS
|
||||
if (!_entity->isKnownID()) {
|
||||
return; // never update entities that are unknown
|
||||
}
|
||||
if (_outgoingPacketFlags) {
|
||||
EntityItemProperties properties = _entity->getProperties();
|
||||
|
||||
|
|
Loading…
Reference in a new issue