From d42150030ea4909738df39bb5705a0c08e3f3874 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 3 Jul 2016 08:05:34 -0400 Subject: [PATCH] Rename SOMETHING -> server_random_seed. (from 2013 SDK). Add to copy ctor and Reset(). --- game/shared/usercmd.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/game/shared/usercmd.h b/game/shared/usercmd.h index ce401d88..978c8225 100644 --- a/game/shared/usercmd.h +++ b/game/shared/usercmd.h @@ -52,6 +52,9 @@ public: weaponselect = 0; weaponsubtype = 0; random_seed = 0; +#ifndef CLIENT_DLL + server_random_seed = 0; +#endif mousedx = 0; mousedy = 0; @@ -98,6 +101,9 @@ public: weaponselect = src.weaponselect; weaponsubtype = src.weaponsubtype; random_seed = src.random_seed; +#ifndef CLIENT_DLL + server_random_seed = src.server_random_seed; +#endif mousedx = src.mousedx; mousedy = src.mousedy; @@ -203,7 +209,7 @@ public: int random_seed; // For shared random functions #ifndef CLIENT_DLL - int SOMETHING; + int server_random_seed; #endif short mousedx; // mouse accum in x from create move