- // remove dead PhysicsEntity*s from Active
- for( setPhys::iterator it = physics_To_Remove.begin();
- it != physics_To_Remove.end();
- it++ )
- {
- active_Physics.erase(*it);
- }
- physics_To_Remove.clear();
+ // remove dead PhysicsEntity*s from Active
+ for( setPhys::iterator it = physics_To_Remove.begin();
+ it != physics_To_Remove.end();
+ it++ )
+ {
+ active_Physics.erase(*it);
+ }
+ physics_To_Remove.clear();
+ SDL_mutexV( physicsEntitySetLock );