mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
parent
36fea391de
commit
72b927a0a4
@ -55,9 +55,15 @@ public:
|
||||
mousedy = 0;
|
||||
|
||||
hasbeenpredicted = false;
|
||||
|
||||
#if defined( HL2_DLL ) || defined( HL2_CLIENT_DLL )
|
||||
entitygroundcontact.RemoveAll();
|
||||
#endif
|
||||
|
||||
// TrackIR
|
||||
headangles.Init();
|
||||
headoffset.Init();
|
||||
// TrackIR
|
||||
}
|
||||
|
||||
CUserCmd& operator =( const CUserCmd& src )
|
||||
@ -85,6 +91,11 @@ public:
|
||||
entitygroundcontact = src.entitygroundcontact;
|
||||
#endif
|
||||
|
||||
// TrackIR
|
||||
headangles = src.headangles;
|
||||
headoffset = src.headoffset;
|
||||
// TrackIR
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
@ -152,6 +163,10 @@ public:
|
||||
CUtlVector< CEntityGroundContact > entitygroundcontact;
|
||||
#endif
|
||||
|
||||
// TrackIR
|
||||
QAngle headangles;
|
||||
Vector headoffset;
|
||||
// TrackIR
|
||||
};
|
||||
|
||||
void ReadUsercmd( bf_read *buf, CUserCmd *move, CUserCmd *from );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user