Skip to content

Commit

Permalink
Set sv_fastpushmove 1 as default, boost performance in huge levels.
Browse files Browse the repository at this point in the history
After various testing left and right, didn't saw any drawback so activate it by default
Initially added in ##731
  • Loading branch information
vsonnier committed Feb 19, 2025
1 parent b85d223 commit d6bf6c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Quake/sv_phys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -620,7 +620,7 @@ static void SV_PushMove (edict_t *pusher, float movetime)
}
break;
} // end if block
} // foreach pushable entities
} // foreach pushable entities
}

/*
Expand Down

0 comments on commit d6bf6c4

Please sign in to comment.