From d6bf6c4c4d74e39b803a976f0a6471ecf110044f Mon Sep 17 00:00:00 2001 From: vsonnier Date: Wed, 19 Feb 2025 21:43:47 +0100 Subject: [PATCH] Set sv_fastpushmove 1 as default, boost performance in huge levels. After various testing left and right, didn't saw any drawback so activate it by default Initially added in #https://github.com/Novum/vkQuake/pull/731 --- Quake/sv_phys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Quake/sv_phys.c b/Quake/sv_phys.c index 9befba49..108577f7 100644 --- a/Quake/sv_phys.c +++ b/Quake/sv_phys.c @@ -49,7 +49,7 @@ cvar_t sv_nostep = {"sv_nostep", "0", CVAR_NONE}; cvar_t sv_freezenonclients = {"sv_freezenonclients", "0", CVAR_NONE}; cvar_t sv_gameplayfix_spawnbeforethinks = {"sv_gameplayfix_spawnbeforethinks", "0", CVAR_NONE}; cvar_t sv_gameplayfix_bouncedownslopes = {"sv_gameplayfix_bouncedownslopes", "1", CVAR_NONE}; // fixes grenades making horrible noises on slopes. -cvar_t sv_fastpushmove = {"sv_fastpushmove", "0", CVAR_ARCHIVE}; // 0=old SV_PushMove processing; 1= faster SV_PushMove, with bugs ? +cvar_t sv_fastpushmove = {"sv_fastpushmove", "1", CVAR_ARCHIVE}; // 0=old SV_PushMove processing; 1= faster SV_PushMove, (default) #define MOVE_EPSILON 0.01 @@ -620,7 +620,7 @@ static void SV_PushMove (edict_t *pusher, float movetime) } break; } // end if block - } // foreach pushable entities + } // foreach pushable entities } /*