1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Update usercmd.h (#72)

This commit is contained in:
Loïc
2020-03-26 15:51:04 +01:00
committed by GitHub
parent c29c492594
commit a897ea77e6

View File

@ -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