mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +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) {
|
||||
ShapeRequest shapeRequest(entity);
|
||||
ShapeRequests::iterator requestItr = _shapeRequests.find(shapeRequest);
|
||||
if (requestItr == _shapeRequests.end()) {
|
||||
if (requestItr != _shapeRequests.end()) {
|
||||
_shapeRequests.erase(requestItr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue