summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-03-04 23:06:24 +0000
committerTim Angus <tim@ngus.net>2002-03-04 23:06:24 +0000
commit465bdb724cbd651303143958e7eef2e8577321e9 (patch)
tree9e956767b865c7865250ea15aa6907c1b8814042 /src/game/g_client.c
parentcf0142835b37de4e5731699d06862bc3199ecf53 (diff)
The real bugfix to cg_wwFollow not being persistant
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 02fd38ec..b814aa47 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1069,9 +1069,9 @@ void ClientUserinfoChanged( int clientNum ) {
// wallwalk follow
s = Info_ValueForKey( userinfo, "cg_wwFollow" );
if( atoi( s ) )
- client->ps.stats[ STAT_STATE ] |= SS_WALLCLIMBINGFOLLOW;
+ client->ps.persistant[ PERS_STATE ] |= PS_WALLCLIMBINGFOLLOW;
else
- client->ps.stats[ STAT_STATE ] &= ~SS_WALLCLIMBINGFOLLOW;
+ client->ps.persistant[ PERS_STATE ] &= ~PS_WALLCLIMBINGFOLLOW;
// teamInfo
s = Info_ValueForKey( userinfo, "teamoverlay" );