]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
droptofloor(): refactor and use correct conditions for each BSP format
authorbones_was_here <bones_was_here@xonotic.au>
Sat, 15 Jul 2023 12:28:27 +0000 (22:28 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sat, 15 Jul 2023 12:28:27 +0000 (22:28 +1000)
commit4a4448a1282e7e9481a5bf43189e6d092a48c501
tree241b1858272918a514ab794165190ef07d3d4ab3
parent8cdc1ef0cdd81246599aee0e99d96e42faab34b8
droptofloor(): refactor and use correct conditions for each BSP format

Behaviour changes:

Although startsolid is used by Q3 and Q2, it's too strict for Quake
which used allsolid, so we now use the correct conditions for each BSP
format.

The downtrace endpoint is now calculated after
sv_gameplayfix_droptofloorstartsolid_nudgetocorrect.

The downtrace endpoint is now offset when using the
sv_gameplayfix_droptofloorstartsolid fallback path, otherwise it would
trace a diagonal line for entities whose origin is not horizontally centred
in their bbox.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
svvm_cmds.c