InputSystem: return the correct type on IInput::GetUserCmd()

Should return the extended class.
This commit is contained in:
Kawe Mazidjatari 2024-08-03 15:19:31 +02:00
parent 06ea5773d7
commit 74a58b2fd4

View File

@ -33,7 +33,7 @@ public:
virtual void EncodeUserCmdToBuffer( int slot, bf_write& buf, int sequenceNumber ) = 0;
virtual void DecodeUserCmdFromBuffer( int slot, bf_read& buf, int sequenceNumber ) = 0;
virtual CUserCmd *GetUserCmd( int slot, int sequenceNumber ) = 0; // TODO[ AMOS ]: CUserCmdExteded*
virtual CUserCmdExtended *GetUserCmd( int slot, int sequenceNumber ) = 0;
virtual void MakeWeaponSelection( int secondary, int primary ) = 0;