Add linkents for strange entities which was found on some maps.

This commit is contained in:
Night Owl 2017-11-28 17:14:18 +05:00
parent 17eaf8a782
commit 52ac446b1f
5 changed files with 6 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public:
};
LINK_ENTITY_TO_CLASS( monster_barnacle, CBarnacle )
LINK_ENTITY_TO_CLASS( monster_xarnacle, CBarnacle )
TYPEDESCRIPTION CBarnacle::m_SaveData[] =
{

View File

@ -122,6 +122,7 @@ public:
};
LINK_ENTITY_TO_CLASS( monster_ichthyosaur, CIchthyosaur )
LINK_ENTITY_TO_CLASS( monster_hchthyosaur, CIchthyosaur )
LINK_ENTITY_TO_CLASS( monster_baby_ichthyosaur, CIchthyosaur )
TYPEDESCRIPTION CIchthyosaur::m_SaveData[] =

View File

@ -134,6 +134,7 @@ private:
};
LINK_ENTITY_TO_CLASS( monster_leech, CLeech )
LINK_ENTITY_TO_CLASS( monster_piranha, CLeech )
TYPEDESCRIPTION CLeech::m_SaveData[] =
{

View File

@ -408,9 +408,11 @@ void CSqueakGrenade::SuperBounceTouch( CBaseEntity *pOther )
#endif
LINK_ENTITY_TO_CLASS( weapon_snark, CSqueak )
LINK_ENTITY_TO_CLASS( weapon_znark, CSqueak )
void CSqueak::Spawn()
{
pev->classname = MAKE_STRING( "weapon_snark" ); // hack to allow for old names
Precache();
m_iId = WEAPON_SNARK;
SET_MODEL( ENT( pev ), "models/w_sqknest.mdl" );

View File

@ -111,6 +111,7 @@ int CTentacle::g_fFlySound;
int CTentacle::g_fSquirmSound;
LINK_ENTITY_TO_CLASS( monster_tentacle, CTentacle )
LINK_ENTITY_TO_CLASS( monster_hentacle, CTentacle )
// stike sounds
#define TE_NONE -1