- fixed DanDroid with rain & compounds

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9169 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
torcs-ng 2023-10-27 16:15:15 +00:00
parent dbf680cbf9
commit 93e1f1eddc
1 changed files with 1 additions and 1 deletions

View File

@ -2848,7 +2848,7 @@ int TDriver::getTires(PCarHandle CarHandle, double dist)
mTiresStart = 2;
}
else if ((mTrack->local.rain < 2 && mTrack->local.airtemperature > 28.0)
|| (mTrack->local.rain = 0 && dist >= 30))
|| (mTrack->local.rain == 0 && dist >= 30))
{
GfParmSetNum(CarHandle, SECT_TIRESET, PRM_COMPOUNDS_SET, NULL, 3);
mTireMu = mTireMuC[2];