mirror of https://github.com/n64decomp/mk64.git
other fix
This commit is contained in:
parent
3d35bfb778
commit
e2aaf7d126
|
|
@ -1565,7 +1565,7 @@ void update_player(s32 playerId) {
|
|||
return;
|
||||
}
|
||||
if ((D_801630E8[playerId] == 1) || (D_801630E8[playerId] == -1)) {
|
||||
player->effects |= UNKNOWN_EFFECT_0x10;
|
||||
player->effects |= DRIFTING_EFFECT;
|
||||
}
|
||||
if (D_801630E8[playerId] != 0) {
|
||||
sPlayerAngle[playerId] = -get_angle_between_points(player->oldPos, player->pos);
|
||||
|
|
@ -1772,7 +1772,7 @@ void func_8000B140(s32 playerId) {
|
|||
Player* player;
|
||||
player = &gPlayers[playerId];
|
||||
|
||||
if (player->effects & UNKNOWN_EFFECT_0x10) {
|
||||
if (player->effects & DRIFTING_EFFECT) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ void func_80011EC0(s32 playerIndex, Player* player, s32 arg2, UNUSED u16 arg3) {
|
|||
if ((arg2 >= -9) && (D_80162FF8[playerIndex] == 0)) {
|
||||
if ((gTrackPositionFactor[playerIndex] > -0.8) && (gTrackPositionFactor[playerIndex] < 0.5)) {
|
||||
kart_hop(player);
|
||||
player->effects |= UNKNOWN_EFFECT_0x10;
|
||||
player->effects |= DRIFTING_EFFECT;
|
||||
D_801630E8[playerIndex] = 1;
|
||||
break;
|
||||
}
|
||||
|
|
@ -156,7 +156,7 @@ void func_80011EC0(s32 playerIndex, Player* player, s32 arg2, UNUSED u16 arg3) {
|
|||
if ((arg2 < 0xA) && (D_80162FF8[playerIndex] == 0)) {
|
||||
if ((gTrackPositionFactor[playerIndex] > -0.5) && (gTrackPositionFactor[playerIndex] < 0.8)) {
|
||||
kart_hop(player);
|
||||
player->effects |= UNKNOWN_EFFECT_0x10;
|
||||
player->effects |= DRIFTING_EFFECT;
|
||||
D_801630E8[playerIndex] = -1;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue