remove functional code from inside assert

This commit is contained in:
Andrew Meadows 2015-01-11 13:31:37 -08:00
parent 343ee4ea67
commit 89a782c55a

View file

@ -239,7 +239,7 @@ bool UpdateEntityOperator::preRecursion(OctreeElement* element) {
if (oldElement != _containingElement) {
qDebug() << "WARNING entity moved during UpdateEntityOperator recursion";
assert(! _containingElement->removeEntityItem(_existingEntity));
_containingElement->removeEntityItem(_existingEntity);
}
if (_wantDebug) {