Skip to content

refactor: replace magic 16 with CROUCH_MAXS_Z#866

Open
WofWca wants to merge 2 commits intoioquake:mainfrom
WofWca:wofwca/7714e8d687
Open

refactor: replace magic 16 with CROUCH_MAXS_Z#866
WofWca wants to merge 2 commits intoioquake:mainfrom
WofWca:wofwca/7714e8d687

Conversation

@WofWca
Copy link
Copy Markdown

@WofWca WofWca commented Feb 20, 2026

Two lines below we set "ducked" and "crouch",
so this confirms the intentions to use CROUCH_MAXS_Z
for maxs[2].

This MR is based on #856. Can be merged right away, thus merging 2 MRs at a time.

This is a follow-up to 38c4180
(ioquake#828).

This is not really "height" because height is constituted by
`maxs[2] - mins[2]`.
So the new name should be in line with the existing variable
named `MINS_Z`.
Two lines below we set "ducked" and "crouch",
so this confirms the intentions to use `CROUCH_MAXS_Z`
for `maxs[2]`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant