1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Remove CBaseEntity definition

It's better for thirdparty to handle definition of it, we can use CEntityInstance instead since it's a base class here.
This commit is contained in:
GAMMACASE
2024-05-08 21:57:44 +03:00
parent 5b106aaf14
commit 74283e80d8
5 changed files with 4 additions and 17 deletions

View File

@ -11,12 +11,6 @@
#pragma once
#endif
#include "entityinstance.h"
class CBaseEntity : public CEntityInstance
{
};
#if 0
#define TEAMNUM_NUM_BITS 6
#include <ctype.h>
@ -2912,6 +2906,4 @@ FORCEINLINE bool EntityNamesMatch( const char *pszQuery, string_t nameToMatch )
return false;
}
#endif
#endif // BASEENTITY_H

View File

@ -20,7 +20,7 @@
inline CEntityInstance* CEntityHandle::Get() const
{
return GameEntitySystem()->GetBaseEntity( *this );
return GameEntitySystem()->GetEntityInstance( *this );
}
// -------------------------------------------------------------------------------------------------- //