mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02: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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user