Fixed comments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3325 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1b6f38ebf76141efd3d75195bcd0200497e387dd Former-commit-id: 9a586d926d45485e13221dadf25b164fb2e43a00
This commit is contained in:
parent
130e77670d
commit
f8b871a8e0
1 changed files with 2 additions and 2 deletions
|
@ -402,7 +402,7 @@ static void* ReCareerNewClass( const char* filename, void *prevParam, void **fir
|
|||
nbGroups = (int)GfParmGetCurNum( ReInfo->params, RM_SECT_CLASSES, RM_ATTR_NBGROUPS, NULL, 1 );
|
||||
nbDrivers = (int)GfParmGetNum( ReInfo->params, RM_SECT_RACECARS, RM_ATTR_MAXNUM, NULL, 10 ) * nbGroups;
|
||||
if( first && nbDrivers < 10 )
|
||||
nbDrivers = 10; /* The lowest class should at least have 10 drivers, because there can be 10 humans */
|
||||
nbDrivers = 10; /* The lowest class should at least have 10 drivers, because there can be 10 humans. Note: This 10 limitation no longer exists */
|
||||
|
||||
if( nbGroups == 1 ) {
|
||||
groupAlpha[ 0 ] = '\0';
|
||||
|
@ -458,7 +458,7 @@ static void ReCareerNewParams( const char* filename, double date )
|
|||
return;
|
||||
}
|
||||
|
||||
/* Calculate the maximum number of tracks neccesairy */
|
||||
/* Calculate the maximum number of needed tracks */
|
||||
do {
|
||||
snprintf( buf, 1024, "%s/%s/%s", RM_SECT_CLASSES, GfParmListGetCurEltName(ReInfo->params, RM_SECT_CLASSES), RM_SECT_TRACKS );
|
||||
if( totalTracks < 0 || totalTracks < (int)GfParmGetNum(ReInfo->params, buf, RM_ATTR_MAXNUM, NULL, 1) )
|
||||
|
|
Loading…
Reference in a new issue