]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Rework handling of stuck entities in engine movetypes
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 13 Sep 2023 19:38:04 +0000 (05:38 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Wed, 13 Sep 2023 19:38:04 +0000 (05:38 +1000)
commit270f020888c5a03b98cc7752957243e6123c1132
tree276432ae2b218008803608122401f0e0e491f6f6
parent4225123f87643f8a240ba4a6759067d0efc25693
Rework handling of stuck entities in engine movetypes

Avoids most false positives and unnecessary work.
Mentions likely code path and cvar deprecations.

Fixes nades ending up where they shouldn't, which looked like:
Unstuck entity 450 (classname "ogre_grenade") with offset 0.000000 0.000000 28.000000.

Allows certain entities to move while stuck in the world (see comments).
Fixes https://github.com/DarkPlacesEngine/darkplaces/issues/18

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