summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-04-22 17:35:22 -0400
committerGitHub <noreply@github.com>2024-04-22 17:35:22 -0400
commit7e8b9144c2e08f65229696135980977e1f098d6c (patch)
tree4f5cfc84f1e8b42ba81ef50cff5b1b20115c4888 /src/code/z_actor.c
parent62b97badc9bbc9b2a08e2efe72083f58ed003816 (diff)
Player Docs: Control stick buffers (#1945)
* name vars and add enum * name some spin attack stuff * fix right and left * forward/backward * format * fix retail bss * sControlStickWorldYaw
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 5e8b86aaa..ec8475535 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -433,7 +433,8 @@ void func_8002C7BC(TargetContext* targetCtx, Player* player, Actor* actorArg, Pl
unkActor = NULL;
- if ((player->unk_664 != NULL) && (player->unk_84B[player->unk_846] == 2)) {
+ if ((player->unk_664 != NULL) &&
+ (player->controlStickDirections[player->controlStickDataIndex] == PLAYER_STICK_DIR_BACKWARD)) {
targetCtx->unk_94 = NULL;
} else {
func_80032AF0(play, &play->actorCtx, &unkActor, player);