fix for entity-server kinematic simulation

This commit is contained in:
Andrew Meadows 2015-05-06 17:48:10 -07:00
parent cc5f2ee451
commit 411bf1a35c

View file

@ -57,6 +57,7 @@ void SimpleEntitySimulation::removeEntityInternal(EntityItem* entity) {
const int SIMPLE_SIMULATION_DIRTY_FLAGS = EntityItem::DIRTY_VELOCITIES | EntityItem::DIRTY_MOTION_TYPE;
void SimpleEntitySimulation::changeEntityInternal(EntityItem* entity) {
EntitySimulation::changeEntityInternal(entity);
if (!entity->getSimulatorID().isNull()) {
_hasSimulationOwnerEntities.insert(entity);
}