Game: fix circular include

The types needed for the typedef were already forward declared, no need to include additional headers here.
This commit is contained in:
Kawe Mazidjatari 2024-07-30 01:50:56 +02:00
parent 06b5d9a2a2
commit 5428e1914f

View File

@ -14,16 +14,11 @@
#include "ehandle.h" #include "ehandle.h"
#if defined( CLIENT_DLL ) #if defined( CLIENT_DLL )
#include "game/client/c_baseentity.h"
class C_BaseEntity; class C_BaseEntity;
typedef CHandle<C_BaseEntity> EHANDLE; typedef CHandle<C_BaseEntity> EHANDLE;
#else #else
#include "game/server/baseentity.h"
class CBaseEntity; class CBaseEntity;
typedef CHandle<CBaseEntity> EHANDLE; typedef CHandle<CBaseEntity> EHANDLE;
#endif #endif
#endif // PREDICTIONCOPY_H #endif // PREDICTIONCOPY_H