diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/server/tf2/tf_obj_armor_upgrade.cpp | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/server/tf2/tf_obj_armor_upgrade.cpp')
| -rw-r--r-- | game/server/tf2/tf_obj_armor_upgrade.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/game/server/tf2/tf_obj_armor_upgrade.cpp b/game/server/tf2/tf_obj_armor_upgrade.cpp new file mode 100644 index 0000000..01b05f3 --- /dev/null +++ b/game/server/tf2/tf_obj_armor_upgrade.cpp @@ -0,0 +1,31 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#include "cbase.h" +#include "tf_obj_armor_upgrade.h" + + +#define AERIAL_SENTRY_STATION_MODEL "models/objects/obj_aerial_sentry_station.mdl" + + +LINK_ENTITY_TO_CLASS( obj_armor_upgrade, CArmorUpgrade ); + + +IMPLEMENT_SERVERCLASS_ST( CArmorUpgrade, DT_ArmorUpgrade ) +END_SEND_TABLE() + + +CArmorUpgrade::CArmorUpgrade() +{ + UseClientSideAnimation(); +} + + +void CArmorUpgrade::Spawn() +{ + SetModel( AERIAL_SENTRY_STATION_MODEL ); + SetType( OBJ_ARMOR_UPGRADE ); +} |