lots of whitespace
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5265 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -775,7 +775,8 @@ void mousemove(int odx, int ody)
|
||||
}
|
||||
float dx = odx, dy = ody;
|
||||
int dt = totalmillis - mousemillis;
|
||||
if ( mfilter > 0.0 && dt ) {
|
||||
if ( mfilter > 0.0 && dt )
|
||||
{
|
||||
float k = curtime * mfilter;
|
||||
fdx = dx = ( dt*dx + fdx*k )/( dt + k );
|
||||
fdy = dy = ( dt*dy + fdy*k )/( dt + k );
|
||||
|
||||
Reference in New Issue
Block a user