Mercurial > mm7
diff Indoor.cpp @ 295:640a176c030f
sub_42ECB5
author | Nomad |
---|---|
date | Tue, 19 Feb 2013 13:29:02 +0200 |
parents | 96bc024a5fed |
children | af7e848d6def |
line wrap: on
line diff
--- a/Indoor.cpp Mon Feb 18 16:39:49 2013 +0600 +++ b/Indoor.cpp Tue Feb 19 13:29:02 2013 +0200 @@ -4226,7 +4226,7 @@ { if ( (v36 & 7) == OBJECT_Decoration) { - _this = sub_452A9E(v0->vVelocity.x * v0->vVelocity.x + v0->vVelocity.y * v0->vVelocity.y); + _this = integer_sqrt(v0->vVelocity.x * v0->vVelocity.x + v0->vVelocity.y * v0->vVelocity.y); v45 = stru_5C6E00->Atan2( v0->vPosition.x - pLevelDecorations[v37].vPosition.x, v0->vPosition.y - pLevelDecorations[v37].vPosition.y);