- Update mpa11-murasama.xml

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

Former-commit-id: d2c99f14b03a5d2559a45ce28eaf3703b1069a57
Former-commit-id: 869af30207bb835a01fb3c335c67a6efcc5abae9
This commit is contained in:
torcs-ng 2015-03-30 18:33:02 +00:00
parent 3f170714ac
commit cd03e2037b
2 changed files with 10 additions and 7 deletions

View file

@ -799,10 +799,10 @@ typedef struct CarElt
#define PRM_SPEEDO_MAXANG "speedometer max angle"
#define PRM_SPEEDO_DIGITAL "speedometer digital"
#define PRM_NEEDLE_RED "needle red"
#define PRM_NEEDLE_GREEN "needle green"
#define PRM_NEEDLE_BLUE "needle blue"
#define PRM_NEEDLE_ALPHA "needle alpha"
#define PRM_NEEDLE_RED "needle red"
#define PRM_NEEDLE_GREEN "needle green"
#define PRM_NEEDLE_BLUE "needle blue"
#define PRM_NEEDLE_ALPHA "needle alpha"
#define PRM_WHEEL_3D "3d wheel"
#define PRM_FRONT_WHEEL_3D "3d front wheel"

View file

@ -374,11 +374,14 @@ RePreRace(void)
// Get session type (race, qualification or practice).
raceType = GfParmGetStr(params, raceName, RM_ATTR_TYPE, RM_VAL_RACE);
if (!strcmp(raceType, RM_VAL_RACE)) {
if (!strcmp(raceType, RM_VAL_RACE))
{
ReInfo->s->_raceType = RM_TYPE_RACE;
} else if (!strcmp(raceType, RM_VAL_QUALIF)) {
} else if (!strcmp(raceType, RM_VAL_QUALIF))
{
ReInfo->s->_raceType = RM_TYPE_QUALIF;
} else if (!strcmp(raceType, RM_VAL_PRACTICE)) {
} else if (!strcmp(raceType, RM_VAL_PRACTICE))
{
ReInfo->s->_raceType = RM_TYPE_PRACTICE;
}