source-engine/game/server/variant_t.cpp

20 lines
420 B
C++
Raw Normal View History

2023-10-03 17:23:56 +03:00
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
2020-04-22 12:56:21 -04:00
//
// 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;
}