moved another CBaseEdict helper to HalfLife2.cpp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40684
This commit is contained in:
David Anderson 2007-04-11 15:28:08 +00:00
parent c889515263
commit e3b3180099
2 changed files with 5 additions and 5 deletions

View File

@ -48,6 +48,11 @@ void CHalfLife2::OnSourceModStartup(bool late)
}
}
IChangeInfoAccessor *CBaseEdict::GetChangeAccessor()
{
return engine->GetChangeAccessor( (const edict_t *)this );
}
#if 0
void CHalfLife2::OnSourceModAllShutdown()
{

View File

@ -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]);