diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2021-04-29 09:30:19 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2021-05-03 19:49:19 +0200 |
commit | ccdd886e273ec2fa5f8cfe1d1f474914eccb2abf (patch) | |
tree | 076dd76bafc39c824aaa4e372502514c14d6640a /src/client/game.cpp | |
parent | a47a00228b7be97a740081ec9ed86f108021ad6d (diff) | |
download | minetest-ccdd886e273ec2fa5f8cfe1d1f474914eccb2abf.tar.xz |
refacto: Hud: make driver, client, player, inventory, tsrc private & drop unused guienv
also fix c_content.h, on client it includes the src/client/hud.h instead of src/hud.h, which leads to wrong file dependency on the lua stack
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index aa794a755..81508f5f4 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -1389,7 +1389,7 @@ bool Game::createClient(const GameStartData &start_data) player->hurt_tilt_timer = 0; player->hurt_tilt_strength = 0; - hud = new Hud(guienv, client, player, &player->inventory); + hud = new Hud(client, player, &player->inventory); mapper = client->getMinimap(); |