diff --git a/sp/src/game/server/lights.h b/sp/src/game/server/lights.h index 5b937cd17a4..3dee2f59071 100644 --- a/sp/src/game/server/lights.h +++ b/sp/src/game/server/lights.h @@ -13,10 +13,10 @@ //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- -class CLight : public CPointEntity +class CLight : public CServerOnlyPointEntity { public: - DECLARE_CLASS( CLight, CPointEntity ); + DECLARE_CLASS( CLight, CServerOnlyPointEntity ); bool KeyValue( const char *szKeyName, const char *szValue ); void Spawn( void ); diff --git a/sp/src/game/server/world.cpp b/sp/src/game/server/world.cpp index fc3d59ae691..48b00636264 100644 --- a/sp/src/game/server/world.cpp +++ b/sp/src/game/server/world.cpp @@ -43,10 +43,10 @@ extern CUtlMemoryPool g_EntityListPool; #define SF_DECAL_NOTINDEATHMATCH 2048 -class CDecal : public CPointEntity +class CDecal : public CServerOnlyPointEntity { public: - DECLARE_CLASS( CDecal, CPointEntity ); + DECLARE_CLASS( CDecal, CServerOnlyPointEntity ); void Spawn( void ); bool KeyValue( const char *szKeyName, const char *szValue ); @@ -240,10 +240,10 @@ bool CDecal::KeyValue( const char *szKeyName, const char *szValue ) //----------------------------------------------------------------------------- // Purpose: Projects a decal against a prop //----------------------------------------------------------------------------- -class CProjectedDecal : public CPointEntity +class CProjectedDecal : public CServerOnlyPointEntity { public: - DECLARE_CLASS( CProjectedDecal, CPointEntity ); + DECLARE_CLASS( CProjectedDecal, CServerOnlyPointEntity ); void Spawn( void ); bool KeyValue( const char *szKeyName, const char *szValue );