mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Fix build. Remove unneeded changes.
This commit is contained in:
parent
7e5145aaff
commit
0af3a37151
@ -369,8 +369,8 @@ BOOL CFuncTank::StartControl( CBasePlayer *pController )
|
|||||||
|
|
||||||
void CFuncTank::StopControl()
|
void CFuncTank::StopControl()
|
||||||
{
|
{
|
||||||
if( m_pLaser )
|
//if( m_pLaser )
|
||||||
m_pLaser->TurnOff();
|
//m_pLaser->TurnOff();
|
||||||
|
|
||||||
// TODO: bring back the controllers current weapon
|
// TODO: bring back the controllers current weapon
|
||||||
if( !m_pController )
|
if( !m_pController )
|
||||||
|
@ -4060,7 +4060,7 @@ void CBasePlayer::UpdateClientData( void )
|
|||||||
m_rgpPlayerItems[i]->UpdateClientData( this );
|
m_rgpPlayerItems[i]->UpdateClientData( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( m_pClientActiveItem != pPlayer->m_pActiveItem )
|
/*if( m_pClientActiveItem != pPlayer->m_pActiveItem )
|
||||||
{
|
{
|
||||||
if( pPlayer->m_pActiveItem == NULL )
|
if( pPlayer->m_pActiveItem == NULL )
|
||||||
{
|
{
|
||||||
@ -4104,7 +4104,7 @@ void CBasePlayer::UpdateClientData( void )
|
|||||||
MESSAGE_END();
|
MESSAGE_END();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// Cache and client weapon change
|
// Cache and client weapon change
|
||||||
m_pClientActiveItem = m_pActiveItem;
|
m_pClientActiveItem = m_pActiveItem;
|
||||||
|
@ -265,11 +265,6 @@ void CRpgRocket::FollowThink( void )
|
|||||||
pev->velocity = pev->velocity * 0.2 + vecTarget * flSpeed * 0.798;
|
pev->velocity = pev->velocity * 0.2 + vecTarget * flSpeed * 0.798;
|
||||||
if( pev->waterlevel == 0 && pev->velocity.Length() < 1500 )
|
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();
|
Detonate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,8 +43,6 @@ enum satchel_radio_e
|
|||||||
class CSatchelCharge : public CGrenade
|
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
|
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 Spawn( void );
|
||||||
void Precache( void );
|
void Precache( void );
|
||||||
void BounceSound( void );
|
void BounceSound( void );
|
||||||
|
Loading…
Reference in New Issue
Block a user