From 50f9e37282ca82435569b9717a36cb19c2b8adff Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Mon, 2 May 2016 16:25:34 +0200 Subject: [PATCH] disable deepfly patch applied at wrong position --- src/game/server/entities/character.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 88bee903f..b1e7ee602 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -138,10 +138,6 @@ void CCharacter::HandleJetpack() if (m_Jetpack && m_Core.m_ActiveWeapon == WEAPON_GUN) FullAuto = true; - // don't fire non auto weapons when player is deep and sv_deepfly is disabled - if(!g_Config.m_SvDeepfly && !FullAuto && m_DeepFreeze) - return; - // check if we gonna fire bool WillFire = false; if(CountInput(m_LatestPrevInput.m_Fire, m_LatestInput.m_Fire).m_Presses) @@ -349,6 +345,10 @@ void CCharacter::FireWeapon() if (m_Jetpack && m_Core.m_ActiveWeapon == WEAPON_GUN) FullAuto = true; + // don't fire non auto weapons when player is deep and sv_deepfly is disabled + if(!g_Config.m_SvDeepfly && !FullAuto && m_DeepFreeze) + return; + // check if we gonna fire bool WillFire = false; if(CountInput(m_LatestPrevInput.m_Fire, m_LatestInput.m_Fire).m_Presses)