mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Fix laser_spot again.
This commit is contained in:
parent
297cb1a978
commit
b28859d584
@ -143,6 +143,8 @@ void CMP5::Holster( int skiplocal /*= 0*/ )
|
||||
|
||||
void CMP5::PrimaryAttack()
|
||||
{
|
||||
UpdateSpot();
|
||||
|
||||
// don't fire underwater
|
||||
if( m_pPlayer->pev->waterlevel == 3 )
|
||||
{
|
||||
@ -281,7 +283,7 @@ void CMP5::Reload( void )
|
||||
#ifndef CLIENT_DLL
|
||||
if( m_pSpot && m_fSpotActive )
|
||||
{
|
||||
m_pSpot->Suspend( 1.5 );
|
||||
m_pSpot->Suspend( 1.6 );
|
||||
m_flNextSecondaryAttack = UTIL_WeaponTimeBase() + 1.5;
|
||||
}
|
||||
#endif
|
||||
|
@ -66,6 +66,7 @@ void CLaserSpot::Spawn( void )
|
||||
pev->rendermode = kRenderGlow;
|
||||
pev->renderfx = kRenderFxNoDissipation;
|
||||
pev->renderamt = 255;
|
||||
pev->scale = 0.25;
|
||||
|
||||
SET_MODEL( ENT( pev ), "sprites/laserdot.spr" );
|
||||
UTIL_SetOrigin( pev, pev->origin );
|
||||
|
Loading…
x
Reference in New Issue
Block a user