From d393a999100dfd746063ea58dc277dfa75333419 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 29 Mar 2021 20:55:11 +0000 Subject: [PATCH] sv_user: Remove redundant return/unreachable code moveframetime is already checked a few lines above and already returns if it's less than 0.0005, making the redundant return unreachable. From bones_was_here git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13098 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_user.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sv_user.c b/sv_user.c index 9e17dbfe..cf4727b0 100644 --- a/sv_user.c +++ b/sv_user.c @@ -840,8 +840,6 @@ static void SV_ExecuteClientMoves(void) // with this approach, and if they don't send input for a while they // start moving anyway, so the longest 'lagaport' possible is // determined by the sv_clmovement_inputtimeout cvar) - if (moveframetime <= 0) - continue; oldframetime = PRVM_serverglobalfloat(frametime); oldframetime2 = sv.frametime; // update ping time for qc to see while executing this move -- 2.39.2