Browse Source

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

residual_point
Night Owl 7 years ago
parent
commit
52ac446b1f
  1. 1
      dlls/barnacle.cpp
  2. 1
      dlls/ichthyosaur.cpp
  3. 1
      dlls/leech.cpp
  4. 2
      dlls/squeakgrenade.cpp
  5. 1
      dlls/tentacle.cpp

1
dlls/barnacle.cpp

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

1
dlls/ichthyosaur.cpp

@ -122,6 +122,7 @@ public: @@ -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[] =

1
dlls/leech.cpp

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

2
dlls/squeakgrenade.cpp

@ -408,9 +408,11 @@ void CSqueakGrenade::SuperBounceTouch( CBaseEntity *pOther ) @@ -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" );

1
dlls/tentacle.cpp

@ -111,6 +111,7 @@ int CTentacle::g_fFlySound; @@ -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

Loading…
Cancel
Save