mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-19 20:09:06 +03:00
client and shotgun fixex
Some checks failed
Build / build-linux-i386 (push) Has been cancelled
Build / build-linux-amd64 (push) Has been cancelled
Build / build-android-armv7a (push) Has been cancelled
Build / build-windows-i386 (push) Has been cancelled
Build / build-windows-amd64 (push) Has been cancelled
Build / build-dedicated-windows-i386 (push) Has been cancelled
Build / build-dedicated-windows-amd64 (push) Has been cancelled
Build / build-dedicated-linux-i386 (push) Has been cancelled
Build / build-dedicated-linux-amd64 (push) Has been cancelled
Build / build-macos-amd64 (push) Has been cancelled
Build / build-dedicated-macos-amd64 (push) Has been cancelled
Tests / tests-linux-i386 (push) Has been cancelled
Tests / tests-linux-amd64 (push) Has been cancelled
Tests / tests-macos-amd64 (push) Has been cancelled
Tests / tests-windows-i386 (push) Has been cancelled
Tests / tests-windows-amd64 (push) Has been cancelled
Some checks failed
Build / build-linux-i386 (push) Has been cancelled
Build / build-linux-amd64 (push) Has been cancelled
Build / build-android-armv7a (push) Has been cancelled
Build / build-windows-i386 (push) Has been cancelled
Build / build-windows-amd64 (push) Has been cancelled
Build / build-dedicated-windows-i386 (push) Has been cancelled
Build / build-dedicated-windows-amd64 (push) Has been cancelled
Build / build-dedicated-linux-i386 (push) Has been cancelled
Build / build-dedicated-linux-amd64 (push) Has been cancelled
Build / build-macos-amd64 (push) Has been cancelled
Build / build-dedicated-macos-amd64 (push) Has been cancelled
Tests / tests-linux-i386 (push) Has been cancelled
Tests / tests-linux-amd64 (push) Has been cancelled
Tests / tests-macos-amd64 (push) Has been cancelled
Tests / tests-windows-i386 (push) Has been cancelled
Tests / tests-windows-amd64 (push) Has been cancelled
This commit is contained in:
@@ -94,6 +94,11 @@ CBaseCombatWeapon::CBaseCombatWeapon() : BASECOMBATWEAPON_DERIVED_FROM()
|
||||
|
||||
m_hWeaponFileInfo = GetInvalidWeaponInfoHandle();
|
||||
|
||||
#ifdef GAME_DLL
|
||||
m_bLowered = false;
|
||||
m_flRaiseTime = gpGlobals->curtime;
|
||||
#endif
|
||||
|
||||
#if defined( TF_DLL )
|
||||
UseClientSideAnimation();
|
||||
#endif
|
||||
|
||||
@@ -526,7 +526,6 @@ private:
|
||||
CNetworkVar( CBaseCombatCharacterHandle, m_hOwner ); // Player carrying this weapon
|
||||
|
||||
protected:
|
||||
|
||||
#ifdef GAME_DLL
|
||||
bool m_bLowered; // Whether the viewmodel is raised or lowered
|
||||
float m_flRaiseTime; // If lowered, the time we should raise the viewmodel
|
||||
|
||||
@@ -58,6 +58,10 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
#ifndef GAME_DLL
|
||||
bool m_bLowered; // Whether the viewmodel is raised or lowered
|
||||
float m_flRaiseTime; // If lowered, the time we should raise the viewmodel
|
||||
#endif
|
||||
float m_flHolsterTime; // When the weapon was holstered
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user