mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-18 04:55:20 +01:00
@@ -139,9 +139,9 @@ void GUIFormSpecMenu::create(GUIFormSpecMenu *&cur_formspec, Client *client,
|
||||
TextDest *txt_dest, const std::string &formspecPrepend, ISoundManager *sound_manager)
|
||||
{
|
||||
if (cur_formspec == nullptr) {
|
||||
cur_formspec = new GUIFormSpecMenu(joystick, guienv->getRootGUIElement(),
|
||||
-1, &g_menumgr, client, guienv, client->getTextureSource(), sound_manager,
|
||||
fs_src, txt_dest, formspecPrepend);
|
||||
cur_formspec = new GUIFormSpecMenu(joystick, guiroot, -1, &g_menumgr,
|
||||
client, guienv, client->getTextureSource(), sound_manager, fs_src,
|
||||
txt_dest, formspecPrepend);
|
||||
cur_formspec->doPause = false;
|
||||
|
||||
/*
|
||||
|
||||
@@ -38,8 +38,8 @@ public:
|
||||
virtual void signalKeyConfigChange() = 0;
|
||||
};
|
||||
|
||||
// FIXME: do we really need this global variable?
|
||||
extern gui::IGUIEnvironment *guienv;
|
||||
extern gui::IGUIStaticText *guiroot;
|
||||
|
||||
// Handler for the modal menus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user