summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2025-06-22 16:36:09 +0100
committerGitHub <noreply@github.com>2025-06-22 17:36:09 +0200
commitad7ef14b5d8efb00ee5a422c7f0d713569c36715 (patch)
tree55528f46348281ce9e63f5424039aa5025f3495a /src/code
parent04a92708cf6d78e0f2dc72c50948eaa2872d7d5e (diff)
Name `HIT_BACKLASH_` and `HIT_SPECIAL_EFFECT_` values (#2639)
* Name HIT_BACKLASH_ and HIT_SPECIAL_EFFECT_ values * SHOCK -> ELECTRIC
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_collision_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_collision_check.c b/src/code/z_collision_check.c
index 98ea5c09a..2b7ed05de 100644
--- a/src/code/z_collision_check.c
+++ b/src/code/z_collision_check.c
@@ -3015,8 +3015,8 @@ void CollisionCheck_InitInfo(CollisionCheckInfo* info) {
void CollisionCheck_ResetDamage(CollisionCheckInfo* info) {
info->damage = 0;
info->damageReaction = 0;
- info->atHitBacklash = HIT_BACKLASH_0;
- info->acHitSpecialEffect = HIT_SPECIAL_EFFECT_0;
+ info->atHitBacklash = HIT_BACKLASH_NONE;
+ info->acHitSpecialEffect = HIT_SPECIAL_EFFECT_NONE;
info->displacement.x = info->displacement.y = info->displacement.z = 0.0f;
}