From 0480e1f6cadce2be0c6e0d82b360e8d859a318b4 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sat, 12 Jul 2014 16:20:53 +0200 Subject: fix playerState_t::misc field updates not getting through in all cases who the fuck removed this change-check anyway? --- src/cgame/cg_predict.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 ) { -- cgit