mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-11 23:57:59 +00:00
game(hl1): fix stupid mp5 recoil
This commit is contained in:
parent
2cb00530c7
commit
32c57a8a49
@ -386,7 +386,7 @@ CNPCMaker::CNPCMaker( void )
|
|||||||
m_strHintGroup = NULL_STRING;
|
m_strHintGroup = NULL_STRING;
|
||||||
m_RelationshipString = NULL_STRING;
|
m_RelationshipString = NULL_STRING;
|
||||||
m_ChildTargetName = NULL_STRING;
|
m_ChildTargetName = NULL_STRING;
|
||||||
m_iszNPCClassname = NULL_STRING
|
m_iszNPCClassname = NULL_STRING;
|
||||||
m_SquadName = NULL_STRING;
|
m_SquadName = NULL_STRING;
|
||||||
m_spawnEquipment = NULL_STRING;
|
m_spawnEquipment = NULL_STRING;
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@ void CWeaponMP5::PrimaryAttack( void )
|
|||||||
|
|
||||||
EjectShell( pPlayer, 0 );
|
EjectShell( pPlayer, 0 );
|
||||||
|
|
||||||
pPlayer->ViewPunch( QAngle( random->RandomFloat( -2, 2 ), 0, 0 ) );
|
pPlayer->ViewPunch( QAngle( -1, 0, 0 ) );
|
||||||
#ifdef CLIENT_DLL
|
#ifdef CLIENT_DLL
|
||||||
pPlayer->DoMuzzleFlash();
|
pPlayer->DoMuzzleFlash();
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user