- update strategy for shadow's driver

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

Former-commit-id: 5c19e99e44931e646cc350a505e271ea2e161749
Former-commit-id: c3dd98e11714c80a74e08b04ff7a44b13d05b1d2
This commit is contained in:
torcs-ng 2021-09-15 07:05:34 +00:00
parent b2a5ce7406
commit f6e5d1f82d

View file

@ -207,7 +207,7 @@ void Strategy::Process( CarElt* pCar, TeamInfo::Item* pTeamInfo )
bool likeToPit = pitAvailable && (pCar->_dammage >= repairLimit ||
(raceLaps > 20 && pTeamInfo->lapsUntilPit < minPitLaps)
|| tyreWear < m_warnTyreLimit
|| (pCar->_fuel < fuelPerLap * 1.2));
|| (pCar->_fuel < fuelPerLap * 2));
#if defined(DEV) && 0 // don't want to leave this in the code by mistake for TRB races.
likeToPit = true;