Pit building update

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

Former-commit-id: 8379000cfec84f96b521970962b0965edb203b6f
Former-commit-id: 0397db601f900b5a8b3aecd90f6d5911729d91fe
This commit is contained in:
wdbee 2008-12-18 18:01:24 +00:00
parent e1f1201871
commit 78079bcc5f

View file

@ -646,9 +646,13 @@ grCustomizePits(void)
pits = &(grTrack->pits);
/* draw the pit identification */
if ((pits->nPitSeg < 1) && (pits->nMaxPits > 1))
pits->nPitSeg = pits->nMaxPits;
switch (pits->type) {
case TR_PIT_ON_TRACK_SIDE:
for (i = 0; i < pits->nMaxPits; i++) {
for (i = 0; i < pits->nPitSeg; i++) {
GfOut("Pit Nbr: %d\n",i);
char buf[256];
t3Dd normalvector;
sgVec3 vtx;