home *** CD-ROM | disk | FTP | other *** search
- if(this._ymouse > height / 2 - Math.abs(ysens) and this._ymouse < height / 2 + Math.abs(ysens))
- {
- if(this._xmouse < Math.abs(xsens) and this._xmouse > - Math.abs(xsens))
- {
- if(Math.abs(speed) > Math.abs(minspeed))
- {
- speed *= Math.abs(breakfactor);
- }
- }
- else
- {
- speed = (- _xmouse) / mousespeed;
- }
- }
- else if(Math.abs(speed) > Math.abs(minspeed))
- {
- speed *= Math.abs(breakfactor);
- }
-