mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Fix function call being in the wrong place
This commit is contained in:
@@ -2544,9 +2544,6 @@ void CNPC_BaseZombie::ReleaseHeadcrab( const Vector &vecOrigin, const Vector &ve
|
||||
#ifdef MAPBASE
|
||||
// Inherit some misc. properties
|
||||
pGib->m_iViewHideFlags = m_iViewHideFlags;
|
||||
|
||||
// Add response context for companion response (more reliable than checking for post-death zombie entity)
|
||||
pCrab->AddContext( "from_zombie", "1", 2.0f );
|
||||
#endif
|
||||
|
||||
pGib->SetOwnerEntity( this );
|
||||
@@ -2593,6 +2590,9 @@ void CNPC_BaseZombie::ReleaseHeadcrab( const Vector &vecOrigin, const Vector &ve
|
||||
// Inherit some misc. properties
|
||||
pCrab->m_bForceServerRagdoll = m_bForceServerRagdoll;
|
||||
pCrab->m_iViewHideFlags = m_iViewHideFlags;
|
||||
|
||||
// Add response context for companion response (more reliable than checking for post-death zombie entity)
|
||||
pCrab->AddContext( "from_zombie", "1", 2.0f );
|
||||
#endif
|
||||
|
||||
// make me the crab's owner to avoid collision issues
|
||||
|
||||
Reference in New Issue
Block a user