, generator(gc)
, chunk_loader(world.Chunks(), generator, save)
, chunk_renderer(player.GetChunks())
-, spawner(world, res.models, env.rng)
+, spawner(world, res.models)
, sky(env.loader.LoadCubeMap("skybox"))
, cli(world)
, cli_ctx(player, hud)
if (input.BlockFocus()) {
hud.FocusBlock(input.BlockFocus().GetChunk(), input.BlockFocus().block);
} else if (input.EntityFocus()) {
- hud.FocusEntity(*input.EntityFocus().entity);
+ hud.FocusEntity(input.EntityFocus().GetEntity());
} else {
hud.FocusNone();
}