mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-13 16:37:57 +00:00
Make UpdateOnRemove() virtual.
This commit is contained in:
parent
3dc0939b40
commit
cf9ba71686
@ -55,6 +55,7 @@ BOOL CBaseEntity::IsInWorld( void ) { return TRUE; }
|
||||
int CBaseEntity::ShouldToggle( USE_TYPE useType, BOOL currentState ) { return 0; }
|
||||
int CBaseEntity::DamageDecal( int bitsDamageType ) { return -1; }
|
||||
CBaseEntity *CBaseEntity::Create( const char *szName, const Vector &vecOrigin, const Vector &vecAngles, edict_t *pentOwner ) { return NULL; }
|
||||
void CBaseEntity::UpdateOnRemove( void ) { }
|
||||
void CBaseEntity::SUB_Remove( void ) { }
|
||||
|
||||
// CBaseDelay Stubs
|
||||
|
@ -12,6 +12,8 @@
|
||||
* without written permission from Valve LLC.
|
||||
*
|
||||
****/
|
||||
#ifndef CBASE_H
|
||||
#define CBASE_H
|
||||
/*
|
||||
|
||||
Class Hierachy
|
||||
@ -229,7 +231,7 @@ public:
|
||||
};
|
||||
#endif
|
||||
|
||||
void UpdateOnRemove( void );
|
||||
virtual void UpdateOnRemove( void );
|
||||
|
||||
// common member functions
|
||||
void EXPORT SUB_Remove( void );
|
||||
@ -780,3 +782,4 @@ public:
|
||||
void Precache( void );
|
||||
void KeyValue( KeyValueData *pkvd );
|
||||
};
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user