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:
@ -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
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
inline CEntityInstance* CEntityHandle::Get() const
|
||||
{
|
||||
return GameEntitySystem()->GetBaseEntity( *this );
|
||||
return GameEntitySystem()->GetEntityInstance( *this );
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------------------------------- //
|
||||
|
Reference in New Issue
Block a user