mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
game(hl1): fix UTIL_DropToFloor
This commit is contained in:
@@ -35,6 +35,7 @@ public:
|
||||
|
||||
void FallInit( void ); // prepare to fall to the ground
|
||||
virtual void FallThink( void ); // make the weapon fall to the ground after spawning
|
||||
bool CreateVPhysics( void );
|
||||
|
||||
void EjectShell( CBaseEntity *pPlayer, int iType );
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ void CWeaponMP5::PrimaryAttack( void )
|
||||
|
||||
EjectShell( pPlayer, 0 );
|
||||
|
||||
pPlayer->ViewPunch( QAngle( -1, 0, 0 ) );
|
||||
pPlayer->ViewPunch( QAngle( random->RandomFloat( -0.5f, 0.5f ), 0, 0 ) );
|
||||
#ifdef CLIENT_DLL
|
||||
pPlayer->DoMuzzleFlash();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user