mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-11 11:19:09 +00:00
1
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: Client's CObjectSentrygun
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
#include "c_base.h
|
||||
#include "bone_setup.h"
|
||||
#include "CommanderOverlay.h"
|
||||
#include "c_ai_basenpc.h"
|
||||
#include "c_tfcarrier.h"
|
||||
|
||||
IMPLEMENT_CLIENTCLASS_DT(C_TFCarrier, DT_TFCarrier, CTFCarrier)
|
||||
RecvPropInt(RECVINFO(m_iHealth)),
|
||||
RecvPropInt(RECVINFO(m_iMaxHealth)),
|
||||
END_RECV_TABLE()
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
C_TFCarrier::C_TFCarrier()
|
||||
{
|
||||
CONSTRUCT_MINIMAP_PANEL( "minimap_helicopter", MINIMAP_COLLECTORS );
|
||||
}
|
||||
|
||||
void C_TFCarrier::SetDormant( bool inside )
|
||||
{
|
||||
BaseClass::SetDormant( bDormant );
|
||||
ENTITY_PANEL_ACTIVATE( "helicopter", !bDormant );
|
||||
}
|
||||
Reference in New Issue
Block a user