usr_36GP - more improvements to in-traffic steering etc

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@495 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c32723360f4046faa5bbdec8ab50c6060fe63495
Former-commit-id: a724ce183ae0552927dd240a488ab08f663dd0b8
This commit is contained in:
andrewsumner 2008-12-17 02:05:00 +00:00
parent 4c7839993d
commit 689a7f3d3d

View file

@ -2298,7 +2298,7 @@ void LRaceLine::GetPoint( double offset, vec2f *rt, double *mInverse )
#endif
//double time = 0.63;
double time = 0.02 * 20 * (1.0 + (car->_speed_x-20)/20);
double time = 0.02 * 20 * (1.0 + (car->_speed_x-20)/18);
if (rInv > 0.0 && off2lft > 0.0)
time *= (1.0 + ((off2lft/track->width) * (off2lft/(track->width-3.0)) * fabs(rInv*60)));