Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
y5nw committed Dec 22, 2024
1 parent 59c760a commit 734ebbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/game_formspec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ bool GameFormSpec::handleCallbacks()
}

if (g_gamecallback->keyconfig_requested) {
(void)make_irr<GUIKeyChangeMenu>(client, guienv, &input->joystick,
texture_src, sound_manager.get(), client->getFormspecPrepend());
(void)make_irr<GUIKeyChangeMenu>(m_client, guienv, &m_input->joystick,
texture_src, m_client->getSoundManager(), m_client->getFormspecPrepend());
g_gamecallback->keyconfig_requested = false;
}

Expand Down
1 change: 1 addition & 0 deletions src/gui/guiKeyChangeMenu.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "guiFormSpecMenu.h"
#include "mainmenumanager.h"
#include "settings.h"
#include "client/client.h"
#include "client/keycode.h"
#include <string>
Expand Down

0 comments on commit 734ebbb

Please sign in to comment.