From 52ac446b1fd80f1efca6ef6471f4e40a2c054963 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Tue, 28 Nov 2017 17:14:18 +0500 Subject: [PATCH] Add linkents for strange entities which was found on some maps. --- dlls/barnacle.cpp | 1 + dlls/ichthyosaur.cpp | 1 + dlls/leech.cpp | 1 + dlls/squeakgrenade.cpp | 2 ++ dlls/tentacle.cpp | 1 + 5 files changed, 6 insertions(+) diff --git a/dlls/barnacle.cpp b/dlls/barnacle.cpp index ecc1f5d4..4898ddb8 100644 --- a/dlls/barnacle.cpp +++ b/dlls/barnacle.cpp @@ -67,6 +67,7 @@ public: }; LINK_ENTITY_TO_CLASS( monster_barnacle, CBarnacle ) +LINK_ENTITY_TO_CLASS( monster_xarnacle, CBarnacle ) TYPEDESCRIPTION CBarnacle::m_SaveData[] = { diff --git a/dlls/ichthyosaur.cpp b/dlls/ichthyosaur.cpp index 36c35853..06fcd7bc 100644 --- a/dlls/ichthyosaur.cpp +++ b/dlls/ichthyosaur.cpp @@ -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[] = diff --git a/dlls/leech.cpp b/dlls/leech.cpp index 1d64eae1..ca588128 100644 --- a/dlls/leech.cpp +++ b/dlls/leech.cpp @@ -134,6 +134,7 @@ private: }; LINK_ENTITY_TO_CLASS( monster_leech, CLeech ) +LINK_ENTITY_TO_CLASS( monster_piranha, CLeech ) TYPEDESCRIPTION CLeech::m_SaveData[] = { diff --git a/dlls/squeakgrenade.cpp b/dlls/squeakgrenade.cpp index bfe17ed1..b8dfd095 100644 --- a/dlls/squeakgrenade.cpp +++ b/dlls/squeakgrenade.cpp @@ -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" ); diff --git a/dlls/tentacle.cpp b/dlls/tentacle.cpp index 44b8b45b..fc0f006f 100644 --- a/dlls/tentacle.cpp +++ b/dlls/tentacle.cpp @@ -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