From dab2663e6c41e90ff0a8a066b136a745c7aefb39 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 9 Nov 2017 01:55:56 +0300 Subject: [PATCH] Remove size constant on memset() call (#541) --- rehlds/engine/sv_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/sv_user.cpp b/rehlds/engine/sv_user.cpp index cf1834f..c07197e 100644 --- a/rehlds/engine/sv_user.cpp +++ b/rehlds/engine/sv_user.cpp @@ -1271,7 +1271,7 @@ void SV_SetupMove(client_t *_host_client) if ( i >= SV_UPDATE_BACKUP || targettime - nextFrame->senttime > 1.0) { - Q_memset(truepositions, 0, 0xB00u); + Q_memset(truepositions, 0, sizeof(truepositions)); nofind = 1; return; }