-better brake when opponent is low speed
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8658 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 513bf0f1a332e00323c1d08359921f33d4977f07 Former-commit-id: 6dc93fe98a4c1fae67c520adc9f8760f932cbd7a
This commit is contained in:
parent
0e0a3d67bf
commit
d813470dbd
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ void Opponent::ProcessMyCar(
|
|||
|
||||
// double distAhead = MX(20, mySit.spd * mySit.spd / 30);
|
||||
// double distAhead = MX(20, mySit.spd * mySit.spd / 25);
|
||||
double distAhead = MX(20, mySit.spd * mySit.spd / 20);
|
||||
double distAhead = MX(50, mySit.spd * mySit.spd / 20);
|
||||
|
||||
if( (m_info.flags & F_DANGEROUS) == 0 )
|
||||
distAhead = MN(MX(40, distAhead), 80);
|
||||
|
|
Loading…
Reference in a new issue