mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
game(hl1): fix SetBoneController
This commit is contained in:
@@ -2743,8 +2743,9 @@ float CBaseAnimating::SetBoneController ( int iController, float flValue )
|
||||
|
||||
float newValue;
|
||||
float retVal = Studio_SetController( pmodel, iController, flValue, newValue );
|
||||
m_flEncodedController.Set( iController, newValue );
|
||||
|
||||
float &val = m_flEncodedController.GetForModify( iController );
|
||||
val = newValue;
|
||||
return retVal;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user