summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-12 16:20:53 +0200
committerenneract <trem.redman@gmail.com>2014-07-12 17:06:40 +0200
commit0480e1f6cadce2be0c6e0d82b360e8d859a318b4 (patch)
tree681d5ab3eb386bb7d7cc14d8b31fcadec9507093 /src/cgame
parent3864f3233c2ce7ccce4ac05a44bed7c200836543 (diff)
fix playerState_t::misc field updates not getting through in all cases
who the fuck removed this change-check anyway?
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_predict.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cgame/cg_predict.c b/src/cgame/cg_predict.c
index 12a0dc0..8ce1a6c 100644
--- a/src/cgame/cg_predict.c
+++ b/src/cgame/cg_predict.c
@@ -514,6 +514,12 @@ static int CG_IsUnacceptableError( playerState_t *ps, playerState_t *pps )
return 16;
}
+ for( i = 0; i < MAX_PERSISTANT; i++ )
+ {
+ if( pps->misc[ i ] != ps->misc[ i ] )
+ return 17;
+ }
+
if( pps->generic1 != ps->generic1 ||
pps->loopSound != ps->loopSound )
{