mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-06-05 02:12:10 +03:00
Fixed zombie torso ragdolls not using the original zombie skins
This commit is contained in:
parent
48508c4e5c
commit
4cf360b259
@ -1210,6 +1210,10 @@ void CNPC_BaseZombie::DieChopped( const CTakeDamageInfo &info )
|
|||||||
if( pAnimating )
|
if( pAnimating )
|
||||||
{
|
{
|
||||||
pAnimating->SetBodygroup( ZOMBIE_BODYGROUP_HEADCRAB, !m_fIsHeadless );
|
pAnimating->SetBodygroup( ZOMBIE_BODYGROUP_HEADCRAB, !m_fIsHeadless );
|
||||||
|
#ifdef MAPBASE
|
||||||
|
// Inherit some animating properties
|
||||||
|
pAnimating->m_nSkin = m_nSkin;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MAPBASE
|
#ifdef MAPBASE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user