Ctrl+Tab to go to previous whisper, instead of Shift+Tab

This commit is contained in:
Jordy Ruiz 2018-11-25 14:26:38 +01:00
parent 2daca8d3cf
commit 781e832117

View file

@ -191,7 +191,7 @@ bool CChat::OnInput(IInput::CEvent Event)
for(int i = 0; i < MAX_CLIENTS; i++)
{
int ClientID;
if(Input()->KeyIsPressed(KEY_LSHIFT) || Input()->KeyIsPressed(KEY_RSHIFT))
if(Input()->KeyIsPressed(KEY_LCTRL) || Input()->KeyIsPressed(KEY_RCTRL))
ClientID = (m_WhisperTarget + MAX_CLIENTS - i) % MAX_CLIENTS; // pick previous player as target
else
ClientID = (m_WhisperTarget + i) % MAX_CLIENTS; // pick next player as target