diff options
| author | Maciek Baron <1668712+MaciekBaron@users.noreply.github.com> | 2025-07-11 23:04:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 16:04:02 -0600 |
| commit | 7bb37c6ace16f1006fbeeafc42f01967debaf0c0 (patch) | |
| tree | 6612b7fbaa0c6f70232f291a525fce76cfff32ee /src/code_8003DC40.c | |
| parent | 6a8baf89369374a4e3bbccb5b45d5de36eb7e843 (diff) | |
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>
Diffstat (limited to 'src/code_8003DC40.c')
| -rw-r--r-- | src/code_8003DC40.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_8003DC40.c b/src/code_8003DC40.c index 47fcf98c5..27299e581 100644 --- a/src/code_8003DC40.c +++ b/src/code_8003DC40.c @@ -74,7 +74,7 @@ void func_8003E048(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4 if ((player->effects & BOOST_EFFECT) != 0) { remove_boost_effect(player); player->currentSpeed /= 2; - player->unk_08C /= 2; + player->kartPropulsionStrength /= 2; } } else if ((((player->speed / 18.0f) * 216.0f) > 20.0f) || ((player->effects & 0x10000) == 0x10000)) { arg3[0] = ((player->unk_206 / 182) * 0x32); @@ -102,7 +102,7 @@ void func_8003E37C(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4 if ((player->effects & BOOST_EFFECT) != 0) { remove_boost_effect(player); player->currentSpeed /= 2; - player->unk_08C /= 2; + player->kartPropulsionStrength /= 2; } } else if ((((player->speed / 18.0f) * 216.0f) > 20.0f) || ((player->effects & 0x10000) == 0x10000)) { arg3[0] = ((player->unk_206 / 182) * 0x32); |
