fix double targets and freezing bullets

This commit is contained in:
ZappoMan 2015-01-16 14:24:50 -08:00
parent 9beb493a45
commit 9a60896a40

View file

@ -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();