From e3b3180099d98739b9dea52f94d016741ce42489 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 11 Apr 2007 15:28:08 +0000 Subject: [PATCH] moved another CBaseEdict helper to HalfLife2.cpp --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40684 --- core/HalfLife2.cpp | 5 +++++ core/smn_entities.cpp | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) 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]);