diff --git a/include/defines.h b/include/defines.h index 8290ec50f..53157841f 100644 --- a/include/defines.h +++ b/include/defines.h @@ -15,6 +15,7 @@ #define PLAYER_CPU (1 << 12) // 0x1000 #define PLAYER_HUMAN (1 << 14) // 0x4000 #define PLAYER_INVISIBLE_OR_BOMB (1 << 8) // 0x0100 +// unused? #define PLAYER_UNKNOWN (1 << 10) // 0x0400 // Compiles to -0x1000 in diff.py @@ -25,6 +26,13 @@ #define VERSUS 2 #define BATTTLE 3 +/** + * CC stands for cubic-centimetres. + * It measures engine displacement composed from + * cylinder volume. + * Generally, the main determiner of horsepower output. + */ + #define CC_50 0 #define CC_100 1 #define CC_150 2 diff --git a/src/code_8028DF00.c b/src/code_8028DF00.c index 2f238282a..1d6114d90 100644 --- a/src/code_8028DF00.c +++ b/src/code_8028DF00.c @@ -232,7 +232,7 @@ void func_8028E3A0(void) { if (D_80150120) { - if (gCourseSelection == 3) { + if (gCourseSelection == COURSE_BANSHEE_BOARDWALK) { D_80150124 = 5; } else { D_800DC544++;