mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 03:24:52 +00:00
Override sapper visibility
This commit is contained in:
parent
0759e2e8e1
commit
4a4df429cc
2 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,12 @@ void C_ObjectSapper::ClientThink( void )
|
|||
}
|
||||
}
|
||||
|
||||
bool C_ObjectSapper::ValidateEntityAttachedToPlayer( bool &bShouldRetry )
|
||||
{
|
||||
bShouldRetry = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
float C_ObjectSapper::GetReversesBuildingConstructionSpeed( void )
|
||||
{
|
||||
float flReverseSpeed = 0.0f;
|
||||
|
|
|
@ -26,6 +26,7 @@ public:
|
|||
|
||||
virtual void ClientThink( void );
|
||||
virtual void OnDataChanged( DataUpdateType_t type );
|
||||
virtual bool ValidateEntityAttachedToPlayer( bool &bShouldRetry );
|
||||
|
||||
virtual bool IsHostileUpgrade( void ) { return true; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue