summaryrefslogtreecommitdiff
path: root/src/code/z_actor.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-10-20 22:29:50 -0400
committerGitHub <noreply@github.com>2024-10-20 22:29:50 -0400
commitf4210323a22a481215a139804cae8a8941eafdd3 (patch)
treea57a2f61ac47febc0442e59f4ca728fca1c21876 /src/code/z_actor.c
parente55e909477cf2f068780c1bf95e0584e675f6383 (diff)
Document `ACTOR_FLAG_SFX_FOR_PLAYER_BODY_HIT` (#2276)
* name ACTOR_FLAG_HIT_PLAYER_THUMP_SFX * ACTOR_FLAG_HIT_PLAYER_THUMP_SFX -> ACTOR_FLAG_SFX_FOR_PLAYER_BODY_HIT
Diffstat (limited to 'src/code/z_actor.c')
-rw-r--r--src/code/z_actor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index cbefaea19..e91ab50d8 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -2426,7 +2426,7 @@ void Actor_UpdateAll(PlayState* play, ActorContext* actorCtx) {
actor->xyzDistToPlayerSq = SQ(actor->xzDistToPlayer) + SQ(actor->yDistToPlayer);
actor->yawTowardsPlayer = Actor_WorldYawTowardActor(actor, &player->actor);
- actor->flags &= ~ACTOR_FLAG_24;
+ actor->flags &= ~ACTOR_FLAG_SFX_FOR_PLAYER_BODY_HIT;
if ((DECR(actor->freezeTimer) == 0) && (actor->flags & (ACTOR_FLAG_4 | ACTOR_FLAG_6))) {
if (actor == player->focusActor) {