named members m_* to quite -Wshadow
[physics.git] / src / Effects / Screen.cpp
index bfcc581..d75df37 100644 (file)
@@ -68,7 +68,7 @@ Vector2 Screen::velocityDelta(const PhysicsEntity* e, float /*time_step*/) const
 
     Vector2 acc(0,0);
 
-    float CoR = e->CoR;
+    float CoR = e->m_CoR;
     float radius = 0;
     const Ball* b = dynamic_cast<const Ball*>(e);
     if( b != NULL )