mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Merge pull request #124 from theAsmodai/master
Increased move command burst rate
This commit is contained in:
commit
a8ed44dc19
@ -532,7 +532,7 @@ void SV_DropClient_internal(client_t *cl, qboolean crash, const char *string)
|
||||
Q_memset(cl->physinfo, 0, sizeof(cl->physinfo));
|
||||
|
||||
#ifdef REHLDS_FIXES
|
||||
g_GameClients[host_client - g_psvs.clients]->SetSpawnedOnce(false);
|
||||
g_GameClients[cl - g_psvs.clients]->SetSpawnedOnce(false);
|
||||
#endif // REHLDS_FIXES
|
||||
|
||||
SV_FullClientUpdate(cl, &g_psv.reliable_datagram);
|
||||
|
@ -1553,12 +1553,9 @@ void SV_ParseMove(client_t *pSenderClient)
|
||||
host_client->packet_loss = packet_loss;
|
||||
if (!g_psv.paused && (g_psvs.maxclients > 1 || !key_dest) && !(sv_player->v.flags & FL_FROZEN))
|
||||
{
|
||||
#ifndef REHLDS_FIXES
|
||||
// dup and more correct in SV_RunCmd
|
||||
sv_player->v.v_angle[0] = cmds[0].viewangles[0];
|
||||
sv_player->v.v_angle[1] = cmds[0].viewangles[1];
|
||||
sv_player->v.v_angle[2] = cmds[0].viewangles[2];
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "precompiled.h"
|
||||
|
||||
cvar_t sv_rehlds_movecmdrate_max_avg = { "sv_rehlds_movecmdrate_max_avg", "300", 0, 300.0f, NULL };
|
||||
cvar_t sv_rehlds_movecmdrate_max_burst = { "sv_rehlds_movecmdrate_max_burst", "1500", 0, 1500.0f, NULL };
|
||||
cvar_t sv_rehlds_movecmdrate_max_avg = { "sv_rehlds_movecmdrate_max_avg", "400", 0, 400.0f, NULL };
|
||||
cvar_t sv_rehlds_movecmdrate_max_burst = { "sv_rehlds_movecmdrate_max_burst", "2500", 0, 2500.0f, NULL };
|
||||
cvar_t sv_rehlds_stringcmdrate_max_avg = {"sv_rehlds_stringcmdrate_max_avg", "80", 0, 80.0f, NULL};
|
||||
cvar_t sv_rehlds_stringcmdrate_max_burst = {"sv_rehlds_stringcmdrate_max_burst", "400", 0, 400.0f, NULL};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user