Fix crash on Black Mesa when an entity is deleted and SDK Hooks is loaded.
This commit is contained in:
@@ -142,6 +142,9 @@ public:
|
||||
class IEntityListener
|
||||
{
|
||||
public:
|
||||
#if SOURCE_ENGINE == SE_BMS
|
||||
virtual void OnEntityPreSpawned( CBaseEntity *pEntity ) {};
|
||||
#endif
|
||||
virtual void OnEntityCreated( CBaseEntity *pEntity ) {};
|
||||
virtual void OnEntitySpawned( CBaseEntity *pEntity ) {};
|
||||
virtual void OnEntityDeleted( CBaseEntity *pEntity ) {};
|
||||
|
||||
Reference in New Issue
Block a user