1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Get rid of global guienv variable

(It can already be accessed via the renderingengine.)
This commit is contained in:
Desour 2023-08-09 02:55:42 +02:00 committed by sfan5
parent 45e7a80057
commit 16da954bd7
8 changed files with 29 additions and 37 deletions

View file

@ -38,9 +38,6 @@ public:
virtual void signalKeyConfigChange() = 0;
};
// FIXME: do we really need this global variable?
extern gui::IGUIEnvironment *guienv;
// Handler for the modal menus
class MainMenuManager : public IMenuManager