From 1b1218f5fe0bb4076cd1f40f66b577ea1f4d39ab Mon Sep 17 00:00:00 2001 From: Blixibon Date: Tue, 16 Nov 2021 10:27:24 -0600 Subject: [PATCH] Fixed singleplayer anim state reload not working --- sp/src/game/shared/mapbase/singleplayer_animstate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sp/src/game/shared/mapbase/singleplayer_animstate.cpp b/sp/src/game/shared/mapbase/singleplayer_animstate.cpp index 380dbd89..251681da 100644 --- a/sp/src/game/shared/mapbase/singleplayer_animstate.cpp +++ b/sp/src/game/shared/mapbase/singleplayer_animstate.cpp @@ -282,6 +282,10 @@ void CSinglePlayerAnimState::ClearAnimationState() m_bReloading = false; m_bWeaponSwitching = false; m_bPlayingMisc = false; + m_flReloadBlendIn = 0.0f; + m_flReloadBlendOut = 0.0f; + m_flMiscBlendIn = 0.0f; + m_flMiscBlendOut = 0.0f; CBasePlayerAnimState::ClearAnimationState(); }