mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-08 06:30:56 -04:00
Fix error
This commit is contained in:
@@ -120,7 +120,7 @@ void render_actor_piranha_plant(Camera* arg0, Mat4 arg1, struct PiranhaPlant* ar
|
||||
G_TX_MIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD,
|
||||
G_TX_NOLOD);
|
||||
|
||||
if (IsMarioRaceway) {
|
||||
if (IsMarioRaceway()) {
|
||||
gSPDisplayList(gDisplayListHead++, &d_course_mario_raceway_dl_piranha_plant);
|
||||
} else {
|
||||
gSPDisplayList(gDisplayListHead++, &d_course_royal_raceway_dl_piranha_plant);
|
||||
|
||||
@@ -139,7 +139,7 @@ void OGrandPrixBalloons::func_80074924(s32 objectIndex) {
|
||||
object = &gObjectList[objectIndex];
|
||||
object->sizeScaling = 0.15f;
|
||||
|
||||
if (IsMarioRaceway) {
|
||||
if (IsMarioRaceway()) {
|
||||
sp2C = random_int(0x00C8U);
|
||||
sp28 = random_int(_numBalloons3);
|
||||
sp24 = random_int(0x0096U);
|
||||
|
||||
+2
-2
@@ -944,7 +944,7 @@ void spawn_foliage(struct ActorSpawnData* actor) {
|
||||
position[2] = var_s3->pos[2];
|
||||
position[1] = var_s3->pos[1];
|
||||
|
||||
if (IsMarioRaceway) {
|
||||
if (IsMarioRaceway()) {
|
||||
actorType = 2;
|
||||
} else if (IsBowsersCastle()) {
|
||||
actorType = 0x0021;
|
||||
@@ -1706,7 +1706,7 @@ bool collision_tree(Player* player, struct Actor* actor) {
|
||||
actorPos[0] = actor->pos[0];
|
||||
actorPos[1] = actor->pos[1];
|
||||
actorPos[2] = actor->pos[2];
|
||||
if (((IsMarioRaceway) || (IsYoshiValley()) ||
|
||||
if (((IsMarioRaceway()) || (IsYoshiValley()) ||
|
||||
(IsRoyalRaceway()) || (IsLuigiRaceway())) &&
|
||||
(player->unk_094 > 1.0f)) {
|
||||
spawn_leaf(actorPos, 0);
|
||||
|
||||
@@ -2106,7 +2106,7 @@ void init_object_leaf_particle(s32 objectIndex, Vec3f arg1, s32 num) {
|
||||
gObjectList[objectIndex].sizeScaling = 0.1f;
|
||||
gObjectList[objectIndex].surfaceHeight = arg1[1];
|
||||
|
||||
if (IsMarioRaceway) {
|
||||
if (IsMarioRaceway()) {
|
||||
object_origin_pos_randomize_around_xyz(objectIndex, arg1[0], arg1[1] + 25.0, arg1[2], 0x14, 0x1E, 0x14);
|
||||
gObjectList[objectIndex].unk_034 = 1.5f;
|
||||
gObjectList[objectIndex].velocity[1] = 1.5f;
|
||||
|
||||
Reference in New Issue
Block a user