forked from speed-dreams/speed-dreams-code
fix error with human.cpp and change championship MPA1 for speedway racing
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3388 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: fd86fa1bb5b666b7a34a1e00dd582938e1dd61a1 Former-commit-id: 033cf638f42ecc52084ad33f46dcb35120752089
This commit is contained in:
parent
832499408f
commit
494a94177a
2 changed files with 13 additions and 13 deletions
|
@ -1357,7 +1357,7 @@ static void SetFuelAtRaceStart(tTrack* track, void **carParmHandle,
|
|||
tdble fuel_per_lap = track->length * MaxFuelPerMeter;
|
||||
tdble fuel_for_race = fuel_per_lap * (s->_totLaps + 1.0f);
|
||||
// aimed at timed sessions:
|
||||
fuel_for_race += fuel_per_lap / 60.0 * MAX(s->_totTime, 0)
|
||||
fuel_for_race += fuel_per_lap / 60.0 * MAX(s->_totTime, 0);
|
||||
// divide qty by planned pitstops:
|
||||
fuel_for_race /= (1.0 + ((tdble)HCtx[idx]->nbPitStopProg));
|
||||
// add some reserve:
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<!DOCTYPE params SYSTEM "params.dtd">
|
||||
|
||||
<params name="MPA1 Championship" version="1.7">
|
||||
<params name="MPA1 Championship" version="1.8">
|
||||
|
||||
<section name="Header">
|
||||
<attstr name="name" val="MPA1 Championship"/>
|
||||
|
@ -41,33 +41,33 @@
|
|||
</section>
|
||||
|
||||
<section name="3">
|
||||
<attstr name="name" val="chemisay"/>
|
||||
<attstr name="category" val="circuit"/>
|
||||
<attstr name="name" val="newton"/>
|
||||
<attstr name="category" val="speedway"/>
|
||||
</section>
|
||||
|
||||
<section name="4">
|
||||
<attstr name="name" val="migrants"/>
|
||||
<attstr name="category" val="circuit"/>
|
||||
<attstr name="name" val="arizona"/>
|
||||
<attstr name="category" val="speedway"/>
|
||||
</section>
|
||||
|
||||
<section name="5">
|
||||
<attstr name="name" val="bueno"/>
|
||||
<attstr name="name" val="street-1"/>
|
||||
<attstr name="category" val="circuit"/>
|
||||
</section>
|
||||
|
||||
<section name="6">
|
||||
<attstr name="name" val="espie"/>
|
||||
<attstr name="name" val="karwada"/>
|
||||
<attstr name="category" val="circuit"/>
|
||||
</section>
|
||||
|
||||
<section name="7">
|
||||
<attstr name="name" val="brondehach"/>
|
||||
<attstr name="category" val="circuit"/>
|
||||
<attstr name="name" val="sunshine"/>
|
||||
<attstr name="category" val="speedway"/>
|
||||
</section>
|
||||
|
||||
<section name="8">
|
||||
<attstr name="name" val="karwada"/>
|
||||
<attstr name="category" val="circuit"/>
|
||||
<attstr name="name" val="longpond"/>
|
||||
<attstr name="category" val="speedway"/>
|
||||
</section>
|
||||
|
||||
<section name="9">
|
||||
|
@ -96,7 +96,7 @@
|
|||
which are common to all the normal races (= sessions) -->
|
||||
<section name="All Sessions">
|
||||
<attstr name="rain" val="random"/>
|
||||
<attstr name="clouds" val="scarce clouds"/>
|
||||
<attstr name="clouds" val="random"/>
|
||||
<attstr name="time of day" val="afternoon"/>
|
||||
|
||||
</section>
|
||||
|
|
Loading…
Reference in a new issue