mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
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
This commit is contained in:
parent
a47a00228b
commit
ccdd886e27
4 changed files with 12 additions and 14 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue