mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-07 11:46:22 -04:00
Add kartPropulsionStrength and waterInteractionFlags (#425)
* Add kartPropulsionStrength and waterInteractionFlags * Add reset_player_speed_and_velocity * Fix merge * Reorder and cleanup * Document hopVerticalOffset and hopFrameCounter * Fix missed variabled * Further things * Use constant --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
+3
-3
@@ -954,15 +954,15 @@ UNUSED bool func_80088F94(s32 objectIndex, Player* player, f32 arg2) {
|
||||
return var_v1;
|
||||
}
|
||||
|
||||
void func_80088FF0(Player* player) {
|
||||
player->unk_08C = 0.0f;
|
||||
void reset_player_speed_and_velocity(Player* player) {
|
||||
player->kartPropulsionStrength = 0.0f;
|
||||
player->currentSpeed = 0.0f;
|
||||
player->velocity[0] = 0.0f;
|
||||
player->velocity[2] = 0.0f;
|
||||
}
|
||||
|
||||
UNUSED void func_8008900C(Player* player) {
|
||||
player->unk_08C = 0.0f;
|
||||
player->kartPropulsionStrength = 0.0f;
|
||||
player->currentSpeed = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user