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

Remove game_ui from Client class

This commit is contained in:
cx384 2024-12-20 15:03:45 +01:00 committed by GitHub
parent 10f1e142f6
commit b172e67295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 8 deletions

View file

@ -99,7 +99,6 @@ private:
};
class ClientScripting;
class GameUI;
class Client : public con::PeerHandler, public InventoryManager, public IGameDef
{
@ -119,7 +118,6 @@ public:
ISoundManager *sound,
MtEventManager *event,
RenderingEngine *rendering_engine,
GameUI *game_ui,
ELoginRegister allow_login_or_register
);
@ -572,8 +570,6 @@ private:
// own state
LocalClientState m_state;
GameUI *m_game_ui;
// Used for saving server map to disk client-side
MapDatabase *m_localdb = nullptr;
IntervalLimiter m_localdb_save_interval;