467 more tweaks

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

Former-commit-id: 6973128431d60a10e795dab5bb63e1a48c30a45a
Former-commit-id: c1fcc10d2e3ff7a51e938185c586392532377305
This commit is contained in:
mungewell 2012-01-13 06:24:14 +00:00
parent 3c1be0e049
commit c8ac07247f

View file

@ -488,7 +488,7 @@ ReUpdatePracticeCurRes(tCarElt *car, bool bForceNew)
static int nLastLapDamages = 0; static int nLastLapDamages = 0;
if (car->_laps <= 2) if (car->_laps <= 2)
nLastLapDamages = 0; nLastLapDamages = 0;
snprintf(buf, sizeof(buf), "%.3d \t%-12s \t%-12s \t%5.1f \t%5.1f \t%.5d (%d)", snprintf(buf, sizeof(buf), "%.3d \t%-12s \t%-12s \t%5.1f \t%5.1f \t %.5d (%d)",
car->_laps - 1, t1, t2, info->topSpd * 3.6, info->botSpd * 3.6, car->_laps - 1, t1, t2, info->topSpd * 3.6, info->botSpd * 3.6,
car->_dammage ? car->_dammage - nLastLapDamages : 0, car->_dammage); car->_dammage ? car->_dammage - nLastLapDamages : 0, car->_dammage);
nLastLapDamages = car->_dammage; nLastLapDamages = car->_dammage;