2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 08:05:50 +03:00

Remove size constant on memset() call (#541)

This commit is contained in:
Alibek Omarov 2017-11-09 01:55:56 +03:00 committed by Dmitry Novikov
parent cc90106339
commit dab2663e6c

View File

@ -1271,7 +1271,7 @@ void SV_SetupMove(client_t *_host_client)
if ( i >= SV_UPDATE_BACKUP || targettime - nextFrame->senttime > 1.0) if ( i >= SV_UPDATE_BACKUP || targettime - nextFrame->senttime > 1.0)
{ {
Q_memset(truepositions, 0, 0xB00u); Q_memset(truepositions, 0, sizeof(truepositions));
nofind = 1; nofind = 1;
return; return;
} }