mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-27 14:08:00 +03:00
Fix compile
This commit is contained in:
parent
4a2029194b
commit
552a1d1bb4
@ -275,7 +275,7 @@ public:
|
||||
virtual void Blocked(CBaseEntity *pOther) { if (m_pfnBlocked) (this->*m_pfnBlocked)(pOther); }
|
||||
virtual CBaseEntity *Respawn() { return NULL; }
|
||||
|
||||
#ifndef REGAMEDLL_FIXES
|
||||
#ifndef REGAMEDLL_ADD
|
||||
// used by monsters that are created by the MonsterMaker
|
||||
virtual void UpdateOwner() {}
|
||||
#else
|
||||
@ -313,7 +313,12 @@ public:
|
||||
public:
|
||||
// allow engine to allocate instance data
|
||||
void *operator new(size_t stAllocateBlock, entvars_t *pevnew) { return ALLOC_PRIVATE(ENT(pevnew), stAllocateBlock); }
|
||||
|
||||
// don't use this.
|
||||
#if _MSC_VER >= 1200 // only build this code if MSVC++ 6.0 or higher
|
||||
void operator delete(void *pMem, entvars_t *pevnew) { pevnew->flags |= FL_KILLME; }
|
||||
#endif
|
||||
|
||||
void UpdateOnRemove();
|
||||
void EXPORT SUB_Remove();
|
||||
void EXPORT SUB_DoNothing();
|
||||
|
@ -13,8 +13,8 @@ CMapInfo::CMapInfo()
|
||||
// Should only be one of these.
|
||||
ALERT(at_warning, "Warning: Multiple info_map_parameters entities in map!\n");
|
||||
}
|
||||
#endif
|
||||
else
|
||||
#endif
|
||||
{
|
||||
g_pMapInfo = this;
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "version/appversion.h"
|
||||
|
||||
#include "osconfig.h"
|
||||
#include "basetypes.h"
|
||||
#include "asmlib.h"
|
||||
#include "sse_mathfun.h"
|
||||
|
||||
@ -26,12 +27,8 @@
|
||||
#include "tier0/dbg.h"
|
||||
|
||||
#include "dlls.h"
|
||||
#include "basetypes.h"
|
||||
|
||||
#include "interface.h"
|
||||
|
||||
#include "hookchains_impl.h"
|
||||
|
||||
#include "regamedll.h"
|
||||
|
||||
#include "regamedll_interfaces.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user