diff options
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r-- | src/game/g_client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index 03a63147..aafb30fa 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -1122,12 +1122,12 @@ void ClientUserinfoChanged( int clientNum ) client->ps.persistant[ PERS_STATE ] &= ~PS_WALLCLIMBINGTOGGLE; // always sprint - s = Info_ValueForKey( userinfo, "cg_alwaysSprint" ); + s = Info_ValueForKey( userinfo, "cg_sprintToggle" ); if( atoi( s ) ) - client->ps.persistant[ PERS_STATE ] |= PS_ALWAYSSPRINT; + client->ps.persistant[ PERS_STATE ] |= PS_SPRINTTOGGLE; else - client->ps.persistant[ PERS_STATE ] &= ~PS_ALWAYSSPRINT; + client->ps.persistant[ PERS_STATE ] &= ~PS_SPRINTTOGGLE; // fly speed s = Info_ValueForKey( userinfo, "cg_flySpeed" ); |