Browse Source

game: fix NPC blink

pull/100/head
SanyaSho 2 years ago
parent
commit
e8f26b4401
  1. 2
      game/client/c_baseflex.cpp

2
game/client/c_baseflex.cpp

@ -1149,7 +1149,7 @@ void C_BaseFlex::SetupWeights( const matrix3x4_t *pBoneToWorld, int nFlexWeightC
{ {
// hack in an initialization // hack in an initialization
LinkToGlobalFlexControllers( GetModelPtr() ); LinkToGlobalFlexControllers( GetModelPtr() );
m_iBlink = AddGlobalFlexController( "UH" ); m_iBlink = AddGlobalFlexController( "blink" );
if ( SetupGlobalWeights( pBoneToWorld, nFlexWeightCount, pFlexWeights, pFlexDelayedWeights ) ) if ( SetupGlobalWeights( pBoneToWorld, nFlexWeightCount, pFlexWeights, pFlexDelayedWeights ) )
{ {

Loading…
Cancel
Save