From f8b871a8e0b7b4ee03685bc26ee5dea73ed10b17 Mon Sep 17 00:00:00 2001 From: pouillot Date: Sun, 6 Feb 2011 18:34:37 +0000 Subject: [PATCH] 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 --- src/libs/raceengineclient/racecareer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/raceengineclient/racecareer.cpp b/src/libs/raceengineclient/racecareer.cpp index efcce86d4..ea8b13be7 100644 --- a/src/libs/raceengineclient/racecareer.cpp +++ b/src/libs/raceengineclient/racecareer.cpp @@ -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) )