From c843d07561bb1201dc1ca08326860498bcceab57 Mon Sep 17 00:00:00 2001 From: AdamTadeusz Date: Tue, 5 Nov 2024 11:15:01 +0000 Subject: [PATCH 1/2] never run hidethink --- mp/src/game/shared/basecombatweapon_shared.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mp/src/game/shared/basecombatweapon_shared.cpp b/mp/src/game/shared/basecombatweapon_shared.cpp index e94afa1af..0242895cf 100644 --- a/mp/src/game/shared/basecombatweapon_shared.cpp +++ b/mp/src/game/shared/basecombatweapon_shared.cpp @@ -1526,7 +1526,9 @@ bool CBaseCombatWeapon::Holster( CBaseCombatWeapon *pSwitchingTo ) else { // Hide the weapon when the holster animation's finished +#ifndef NEO SetContextThink( &CBaseCombatWeapon::HideThink, gpGlobals->curtime + flSequenceDuration, HIDEWEAPON_THINK_CONTEXT ); +#endif } // if we were displaying a hud hint, squelch it. From 1dcfe56929db2922bbec5daffe09c68e8c4aac1b Mon Sep 17 00:00:00 2001 From: AdamTadeusz Date: Tue, 5 Nov 2024 11:27:36 +0000 Subject: [PATCH 2/2] why not --- mp/src/game/shared/basecombatweapon_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp/src/game/shared/basecombatweapon_shared.cpp b/mp/src/game/shared/basecombatweapon_shared.cpp index 0242895cf..e487672f1 100644 --- a/mp/src/game/shared/basecombatweapon_shared.cpp +++ b/mp/src/game/shared/basecombatweapon_shared.cpp @@ -1528,7 +1528,7 @@ bool CBaseCombatWeapon::Holster( CBaseCombatWeapon *pSwitchingTo ) // Hide the weapon when the holster animation's finished #ifndef NEO SetContextThink( &CBaseCombatWeapon::HideThink, gpGlobals->curtime + flSequenceDuration, HIDEWEAPON_THINK_CONTEXT ); -#endif +#endif // NEO } // if we were displaying a hud hint, squelch it.