Browse Source

Reduce momentory_rot_button's return speed.

redempt
Night Owl 6 years ago
parent
commit
bb9c9bd997
  1. 2
      dlls/buttons.cpp

2
dlls/buttons.cpp

@ -1021,6 +1021,8 @@ void CMomentaryRotButton::KeyValue( KeyValueData *pkvd ) @@ -1021,6 +1021,8 @@ void CMomentaryRotButton::KeyValue( KeyValueData *pkvd )
if( FStrEq( pkvd->szKeyName, "returnspeed" ) )
{
m_returnSpeed = atof( pkvd->szValue );
if( m_returnSpeed > 45.0f )
m_returnSpeed = 45.0f;
pkvd->fHandled = TRUE;
}
else if( FStrEq( pkvd->szKeyName, "sounds" ) )

Loading…
Cancel
Save