Override sapper visibility

This commit is contained in:
★ OS ★ 2025-02-26 03:15:08 -06:00
parent 0759e2e8e1
commit 4a4df429cc
2 changed files with 7 additions and 0 deletions

View file

@ -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;

View file

@ -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; }