mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Mark as const
Mark as const.
This commit is contained in:
parent
11fd49efde
commit
4ed2e7a12a
@ -16,7 +16,7 @@
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
int ReadUserCmd(bf_read* buf, CUserCmd* move, CUserCmd* from)
|
int ReadUserCmd(bf_read* buf, CUserCmd* move, CUserCmd* from)
|
||||||
{
|
{
|
||||||
int seed = v_ReadUserCmd(buf, move, from);
|
const int seed = v_ReadUserCmd(buf, move, from);
|
||||||
|
|
||||||
// On the client, the frame time must be within 'usercmd_frametime_min'
|
// On the client, the frame time must be within 'usercmd_frametime_min'
|
||||||
// and 'usercmd_frametime_max'. Testing revealed that speed hacking could
|
// and 'usercmd_frametime_max'. Testing revealed that speed hacking could
|
||||||
|
Loading…
x
Reference in New Issue
Block a user