diff --git a/codemp/cgame/cg_draw.c b/codemp/cgame/cg_draw.c index 84cfb32777..48c45b3991 100644 --- a/codemp/cgame/cg_draw.c +++ b/codemp/cgame/cg_draw.c @@ -11268,7 +11268,7 @@ static void CG_Speedometer(void) char speedStr4[32] = {0}; vec4_t colorGroundSpeed = {1, 1, 1, 1}; - if (pm && (pm->ps->groundEntityNum != ENTITYNUM_NONE || pm->ps->velocity[2] < 0)) { //On ground or Moving down + if (cg.predictedPlayerState.groundEntityNum != ENTITYNUM_NONE || cg.predictedPlayerState.velocity[2] < 0) { //On ground or Moving down cg.firstTimeInAir = qfalse; } else if (!cg.firstTimeInAir) { //Moving up for first time