diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2024-08-03 20:57:07 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-03 20:57:07 -0600 |
| commit | c270c11c9bee22a2c6fd9395f21f389e18c8afed (patch) | |
| tree | 390538449d09a778c6f85931fffdeb2e1b0f066d /src/render_player.c | |
| parent | 016b16a4845d51d32bbff97c29dbcf5509471e55 (diff) | |
Lakitu fix (#35)
* Fix menu bug
* Fix undefined behaviour
* Fix kart textures
* Fix boost texture
* Rename as per review
* Fix buffer overflows
* Fix lakitu progress
* Fix race starter character
---------
Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/render_player.c')
| -rw-r--r-- | src/render_player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render_player.c b/src/render_player.c index 0517a50a7..52b78494e 100644 --- a/src/render_player.c +++ b/src/render_player.c @@ -1787,8 +1787,8 @@ void func_80026B4C(Player *player, s8 playerId, s8 screenId, s8 arg3) { s16 temp_t2 = player->unk_240; s16 temp_num = 0x40; // setting this as a variable gets rid of regalloc - u8 *wheel0 = LOAD_ASSET(D_800DDE34[player->characterId][temp_t1]); - u8 *wheel1 = LOAD_ASSET(D_800DDE54[player->characterId][temp_t1]); + u16 *wheel0 = (u16 *) LOAD_ASSET(D_800DDE34[player->characterId][temp_t1]); + u16 *wheel1 = (u16 *) LOAD_ASSET(D_800DDE54[player->characterId][temp_t1]); if (((player->effects & 0x4000) == 0x4000) && ((player->type & PLAYER_START_SEQUENCE) == 0)) { if (((player->effects & 0x80) != 0x80) && ((player->effects & 0x40) != 0x40) |
