20 lines
439 B
C++
20 lines
439 B
C++
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
|||
|
//
|
|||
|
// Purpose:
|
|||
|
//
|
|||
|
//=============================================================================//
|
|||
|
|
|||
|
#include "cbase.h"
|
|||
|
#include "variant_t.h"
|
|||
|
|
|||
|
// memdbgon must be the last include file in a .cpp file!!!
|
|||
|
#include "tier0/memdbgon.h"
|
|||
|
|
|||
|
void variant_t::SetEntity( CBaseEntity *val )
|
|||
|
{
|
|||
|
eVal = val;
|
|||
|
fieldType = FIELD_EHANDLE;
|
|||
|
}
|
|||
|
|
|||
|
|