mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-29 17:43:01 +00:00
20 lines
407 B
C++
20 lines
407 B
C++
|
//========= Copyright 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;
|
||
|
}
|
||
|
|
||
|
|