Skip to content

Commit

Permalink
Don't network info_null
Browse files Browse the repository at this point in the history
reduces entity limit crashes, as it still exists for the first tick
  • Loading branch information
SirYodaJedi authored Sep 9, 2024
1 parent 71a488a commit ea63e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mp/src/game/server/subs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ void CPointEntity::Spawn( void )
}


class CNullEntity : public CBaseEntity
class CNullEntity : public CServerOnlyEntity
{
public:
DECLARE_CLASS( CNullEntity, CBaseEntity );
DECLARE_CLASS( CNullEntity, CServerOnlyEntity );

void Spawn( void );
};
Expand Down
4 changes: 2 additions & 2 deletions sp/src/game/server/subs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ void CPointEntity::Spawn( void )
}


class CNullEntity : public CBaseEntity
class CNullEntity : public CServerOnlyEntity
{
public:
DECLARE_CLASS( CNullEntity, CBaseEntity );
DECLARE_CLASS( CNullEntity, CServerOnlyEntity );

void Spawn( void );
};
Expand Down

0 comments on commit ea63e94

Please sign in to comment.