diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index c2300f21..08d91514 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -48,6 +48,11 @@ void CHalfLife2::OnSourceModStartup(bool late) } } +IChangeInfoAccessor *CBaseEdict::GetChangeAccessor() +{ + return engine->GetChangeAccessor( (const edict_t *)this ); +} + #if 0 void CHalfLife2::OnSourceModAllShutdown() { diff --git a/core/smn_entities.cpp b/core/smn_entities.cpp index e8652c8e..f3d85102 100644 --- a/core/smn_entities.cpp +++ b/core/smn_entities.cpp @@ -459,11 +459,6 @@ static cell_t SetEntDataEnt(IPluginContext *pContext, const cell_t *params) return 1; } -IChangeInfoAccessor *CBaseEdict::GetChangeAccessor() -{ - return engine->GetChangeAccessor( (const edict_t *)this ); -} - static cell_t ChangeEdictState(IPluginContext *pContext, const cell_t *params) { edict_t *pEdict = GetEdict(params[1]);