Fixed zombie torso ragdolls not using the original zombie skins

This commit is contained in:
Blixibon 2021-04-22 11:28:24 -05:00
parent 48508c4e5c
commit 4cf360b259

View File

@ -1210,6 +1210,10 @@ void CNPC_BaseZombie::DieChopped( const CTakeDamageInfo &info )
if( pAnimating )
{
pAnimating->SetBodygroup( ZOMBIE_BODYGROUP_HEADCRAB, !m_fIsHeadless );
#ifdef MAPBASE
// Inherit some animating properties
pAnimating->m_nSkin = m_nSkin;
#endif
}
#ifdef MAPBASE