mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 06:15:30 +03:00
Fix function call being in the wrong place
This commit is contained in:
parent
7c5c90ebeb
commit
4e7814eeea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user