Merge pull request #4128 from ZappoMan/master

fix double targets and freezing bullets
This commit is contained in:
Andrew Meadows 2015-01-16 14:37:22 -08:00
commit d5efc375d9

View file

@ -163,6 +163,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();