From 79d3e270a671f7560e0749e8d3f5d5b94a2a26bd Mon Sep 17 00:00:00 2001 From: RGreenlees Date: Thu, 7 Sep 2023 23:29:02 +0100 Subject: [PATCH] Fixed crouched Onos ladder logic Forgot to add exception when Onos is crouching to previous commit --- main/source/pm_shared/pm_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/source/pm_shared/pm_shared.cpp b/main/source/pm_shared/pm_shared.cpp index a58b01ec..b9f590fb 100644 --- a/main/source/pm_shared/pm_shared.cpp +++ b/main/source/pm_shared/pm_shared.cpp @@ -4943,7 +4943,7 @@ physent_t *PM_Ladder( void ) num = hull->firstclipnode; // Engine returns monster hull (64x64x64) for Onos, but Onos uses custom (64x64x108). We correct it here - if (pmove->iuser3 == AVH_USER3_ALIEN_PLAYER5) + if (pmove->iuser3 == AVH_USER3_ALIEN_PLAYER5 && !(pmove->flags & FL_DUCKING)) { hull->clip_mins[2] = -54.0f; hull->clip_maxs[2] = 54.0f;