oops fix endless loop

This commit is contained in:
Seth Alves 2015-05-06 15:48:45 -07:00
parent 4c3cbea261
commit c63b8a93ec

View file

@ -34,6 +34,8 @@ void SimpleEntitySimulation::updateEntitiesInternal(const quint64& now) {
qCDebug(entities) << "auto-removing simulation owner" << entity->getSimulatorID();
entity->setSimulatorID(QUuid());
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
} else {
++itemItr;
}
} else {
++itemItr;