mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Can't access a siblings protected members?
This commit is contained in:
parent
2975d6998d
commit
6a1ef1af62
|
@ -9,7 +9,7 @@ bool CBinds::CBindsSpecial::OnInput(IInput::CEvent Event)
|
|||
// only handle F and composed F binds
|
||||
if((Event.m_Key >= KEY_F1 && Event.m_Key <= KEY_F12) || (Event.m_Key >= KEY_F13 && Event.m_Key <= KEY_F24))
|
||||
{
|
||||
int Mask = m_pBinds->GetModifierMask(m_pBinds->Input());
|
||||
int Mask = m_pBinds->GetModifierMask(Input());
|
||||
|
||||
bool ret = false;
|
||||
for(int Mod = 0; Mod < MODIFIER_COUNT; Mod++)
|
||||
|
|
|
@ -171,6 +171,7 @@ void CGameClient::OnConsoleInit()
|
|||
m_All.Add(m_pEffects); // doesn't render anything, just updates effects
|
||||
m_All.Add(m_pParticles);
|
||||
m_All.Add(m_pBinds);
|
||||
m_All.Add(&m_pBinds->m_SpecialBinds);
|
||||
m_All.Add(m_pControls);
|
||||
m_All.Add(m_pCamera);
|
||||
m_All.Add(m_pSounds);
|
||||
|
|
Loading…
Reference in a new issue