Fix build. Remove unneeded changes.

This commit is contained in:
Night Owl 2017-07-17 13:45:39 +05:00
parent 7e5145aaff
commit 0af3a37151
4 changed files with 4 additions and 11 deletions

View File

@ -369,8 +369,8 @@ BOOL CFuncTank::StartControl( CBasePlayer *pController )
void CFuncTank::StopControl()
{
if( m_pLaser )
m_pLaser->TurnOff();
//if( m_pLaser )
//m_pLaser->TurnOff();
// TODO: bring back the controllers current weapon
if( !m_pController )

View File

@ -4060,7 +4060,7 @@ void CBasePlayer::UpdateClientData( void )
m_rgpPlayerItems[i]->UpdateClientData( this );
}
if( m_pClientActiveItem != pPlayer->m_pActiveItem )
/*if( m_pClientActiveItem != pPlayer->m_pActiveItem )
{
if( pPlayer->m_pActiveItem == NULL )
{
@ -4104,7 +4104,7 @@ void CBasePlayer::UpdateClientData( void )
MESSAGE_END();
}
}
}
}*/
// Cache and client weapon change
m_pClientActiveItem = m_pActiveItem;

View File

@ -265,11 +265,6 @@ void CRpgRocket::FollowThink( void )
pev->velocity = pev->velocity * 0.2 + vecTarget * flSpeed * 0.798;
if( pev->waterlevel == 0 && pev->velocity.Length() < 1500 )
{
if( m_pLauncher )
{
// my launcher is still around, tell it I'm dead.
m_pLauncher->m_cActiveRockets--;
}
Detonate();
}
}

View File

@ -43,8 +43,6 @@ enum satchel_radio_e
class CSatchelCharge : public CGrenade
{
Vector m_lastBounceOrigin; // Used to fix a bug in engine: when object isn't moving, but its speed isn't 0 and on ground isn't set
void Spawn( void );
void Precache( void );
void Spawn( void );
void Precache( void );
void BounceSound( void );