X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2FEffects%2FScreen.cpp;fp=src%2FEffects%2FScreen.cpp;h=d75df3730bede3bbcfcf7d53f7edc9c1c7275e63;hp=bfcc5814b454db2e7fc80bd23987196e2dd0615f;hb=fd1a93a71bc0222dd77f56c145d550cb6f7829bc;hpb=a1a3765dc4eaa4f8dad5d8710c3e6f420d3d2e09 diff --git a/src/Effects/Screen.cpp b/src/Effects/Screen.cpp index bfcc581..d75df37 100644 --- a/src/Effects/Screen.cpp +++ b/src/Effects/Screen.cpp @@ -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(e); if( b != NULL )