Don't network info_null

Reduces potential for entity limit crashes, as it still exists for the first tick.
This commit is contained in:
Yui 2024-09-09 10:33:07 -04:00 committed by GitHub
parent 471a840ed9
commit 337b58eb3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -22,10 +22,10 @@ void CPointEntity::Spawn( void )
} }
class CNullEntity : public CBaseEntity class CNullEntity : public CServerOnlyEntity
{ {
public: public:
DECLARE_CLASS( CNullEntity, CBaseEntity ); DECLARE_CLASS( CNullEntity, CServerOnlyEntity );
void Spawn( void ); void Spawn( void );
}; };

View File

@ -22,10 +22,10 @@ void CPointEntity::Spawn( void )
} }
class CNullEntity : public CBaseEntity class CNullEntity : public CServerOnlyEntity
{ {
public: public:
DECLARE_CLASS( CNullEntity, CBaseEntity ); DECLARE_CLASS( CNullEntity, CServerOnlyEntity );
void Spawn( void ); void Spawn( void );
}; };