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:
flowtron
2010-07-02 16:49:20 +00:00
parent fd3742ce79
commit 94dc526837
13 changed files with 126 additions and 77 deletions
+2 -1
View File
@@ -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 );