[Structs] Correct usercmd_s struct

This commit is contained in:
TheApadayo 2017-05-30 13:21:55 -04:00
parent 350c451de8
commit 2fae76875d

View File

@ -3945,19 +3945,22 @@ namespace Game
};
#pragma pack(pop)
// Probably incomplete or wrong!
#pragma pack(push, 4)
struct usercmd_s
{
int serverTime;
int buttons;
char weapon;
char offHandIndex;
int angles[3];
unsigned __int16 weapon;
unsigned __int16 primaryWeaponForAltMode;
unsigned __int16 offHandIndex;
char forwardmove;
char rightmove;
float meleeChargeYaw;
char meleeChargeDist;
char selectedLoc[2];
char selectedLocAngle;
char remoteControlAngles[2];
};
#pragma pack(pop)