From a897ea77e60d6ddd86978cf2ebdb6c5a34f05b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Thu, 26 Mar 2020 15:51:04 +0100 Subject: [PATCH] Update usercmd.h (#72) --- game/shared/usercmd.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/game/shared/usercmd.h b/game/shared/usercmd.h index acd0ecf2..0ac0d0cc 100644 --- a/game/shared/usercmd.h +++ b/game/shared/usercmd.h @@ -51,6 +51,9 @@ public: weaponselect = 0; weaponsubtype = 0; random_seed = 0; +//#ifndef CLIENT_DLL + server_random_seed = 0; +//#endif mousedx = 0; mousedy = 0; @@ -76,6 +79,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; @@ -152,6 +158,10 @@ public: int random_seed; // For shared random functions +//#ifndef CLIENT_DLL + int server_random_seed; +//#endif + short mousedx; // mouse accum in x from create move short mousedy; // mouse accum in y from create move