change: skeletons are assets now, not content units

This commit is contained in:
MihailRis 2026-01-16 00:34:20 +03:00
parent 587c140a6b
commit 42c4716be2
17 changed files with 144 additions and 120 deletions

View file

@ -26,6 +26,7 @@
#include "logic/scripting/scripting_hud.hpp"
#include "maths/voxmaths.hpp"
#include "objects/Players.hpp"
#include "objects/Entities.hpp"
#include "physics/Hitbox.hpp"
#include "util/stringutil.hpp"
#include "voxels/Chunks.hpp"
@ -49,6 +50,7 @@ LevelScreen::LevelScreen(
gui(engine.getGUI()),
input(engine.getInput()) {
Level* level = levelPtr.get();
level->entities->setAssets(*engine.getAssets());
auto& settings = engine.getSettings();
auto& assets = *engine.getAssets();