r5sdk/r5dev/game/shared/predictioncopy.h
Kawe Mazidjatari 66ef9fb6a0 Fix crash in hitbox drawing code and light restructure
* Fix null pointer dereference crash in server hitbox drawing code; implemented a proper getter for CStudioHdr.
* Moved 'baseentity.h/cpp' to 'game/server/' instead.
* Overall light cleanup.
2023-01-23 23:21:29 +01:00

29 lines
573 B
C++
Raw Blame History

//====== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. =======//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef PREDICTIONCOPY_H
#define PREDICTIONCOPY_H
#ifdef _WIN32
#pragma once
#endif
#include "ehandle.h"
#if defined( CLIENT_DLL )
#include "game/client/c_baseentity.h"
class C_BaseEntity;
typedef CHandle<C_BaseEntity> EHANDLE;
#else
#include "game/server/baseentity.h"
class CBaseEntity;
typedef CHandle<CBaseEntity> EHANDLE;
#endif
#endif // PREDICTIONCOPY_H