mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +02:00
fix inverted logic typo
This commit is contained in:
parent
53ad41e5ee
commit
d6a20a4abd
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ void PhysicalEntitySimulation::buildPhysicsTransaction(PhysicsEngine::Transactio
|
||||||
if (_shapeRequests.size() > 0) {
|
if (_shapeRequests.size() > 0) {
|
||||||
ShapeRequest shapeRequest(entity);
|
ShapeRequest shapeRequest(entity);
|
||||||
ShapeRequests::iterator requestItr = _shapeRequests.find(shapeRequest);
|
ShapeRequests::iterator requestItr = _shapeRequests.find(shapeRequest);
|
||||||
if (requestItr == _shapeRequests.end()) {
|
if (requestItr != _shapeRequests.end()) {
|
||||||
_shapeRequests.erase(requestItr);
|
_shapeRequests.erase(requestItr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue