From 0d8dceea4310fde5706b3ce1c70609d72a38efdf Mon Sep 17 00:00:00 2001 From: John Schoenick Date: Wed, 9 Sep 2015 18:35:41 -0700 Subject: Updated the SDK with the latest code from the TF and HL2 branches. --- mp/src/game/shared/usercmd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mp/src/game/shared/usercmd.h') diff --git a/mp/src/game/shared/usercmd.h b/mp/src/game/shared/usercmd.h index 20b40345..0005bde9 100644 --- a/mp/src/game/shared/usercmd.h +++ b/mp/src/game/shared/usercmd.h @@ -51,6 +51,9 @@ public: weaponselect = 0; weaponsubtype = 0; random_seed = 0; +#ifdef GAME_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; +#ifdef GAME_DLL + server_random_seed = src.server_random_seed; +#endif mousedx = src.mousedx; mousedy = src.mousedy; @@ -151,6 +157,9 @@ public: int weaponsubtype; int random_seed; // For shared random functions +#ifdef GAME_DLL + int server_random_seed; // Only the server populates this seed +#endif short mousedx; // mouse accum in x from create move short mousedy; // mouse accum in y from create move -- cgit v1.2.3