From 03a2af82411021c4571ffee3f2b386feace7a922 Mon Sep 17 00:00:00 2001 From: metaq3 Date: Sun, 3 May 2026 12:17:52 +0500 Subject: [PATCH] fix: mouse oversample no more leads to segfault --- code/game/bg_pmove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/bg_pmove.c b/code/game/bg_pmove.c index ed1708ee..b541d06c 100644 --- a/code/game/bg_pmove.c +++ b/code/game/bg_pmove.c @@ -2169,7 +2169,7 @@ void PM_UpdateViewAngles(playerState_t* ps, const usercmd_t* cmd) return; // no view changes at all } - if ((pm->ps->pm_type != PM_SPECTATOR) && (pm->ps->pm_flags & PMF_FOLLOW)) + if ((ps->pm_type != PM_SPECTATOR) && (ps->pm_flags & PMF_FOLLOW)) { return; }