summaryrefslogtreecommitdiff
path: root/src/effects.c
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2024-08-25 02:39:52 +0200
committerGitHub <noreply@github.com>2024-08-24 18:39:52 -0600
commit848b31c01eed7b88a2d17b20a33de47f34c161b5 (patch)
treecbe75dc66864f83dd2ce148f3e7a7a8889dc33e4 /src/effects.c
parente135178097f416bc54e36058e10d9b1c013929fd (diff)
Update decomp (#63)
* update libultra asm (#648) * update libultra asm * fix gcc __osThreadTail --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * Document Vehicles (#641) * start doc collision * fix merge * finish rename fonction related to vehicle * document around waypoint of vehicle * make some modification * make some change and rename one * copy_ to oldPos * doc smoke ferry and train * some rename * fix some renaming * precise index * rename a funciton * simplify waypoint_vehicles * change some name * change some name * rename move_to_point_direction * fix some conflict * Update code_80005FD0.c * Update code_80005FD0.h --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com> * Label a save info loop (#645) * save info * more gcc progress * fix a value and do a rename (#669) * fix error of compilation --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/effects.c')
-rw-r--r--src/effects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects.c b/src/effects.c
index 1b2daf31a..50b9c5231 100644
--- a/src/effects.c
+++ b/src/effects.c
@@ -1897,7 +1897,7 @@ void func_80090970(Player *player, s8 playerId, s8 arg2) {
player->unk_0CA &= ~0x0001;
}
} else {
- move_f32_towards(&player->pos[1], player->copy_rotation_y + 40.0f, 0.02f);
+ move_f32_towards(&player->pos[1], player->oldPos[1] + 40.0f, 0.02f);
player->unk_0C6 -= 8;
if (player->unk_0C6 < 9) {
player->unk_0C6 = 0;