Had to fix the rendering so that each sprite is rendered separately in sprite_casting during the render phase.

This commit is contained in:
Zed A. Shaw 2026-03-30 10:51:21 -04:00
parent d22eaa554d
commit dfc86452fc
3 changed files with 9 additions and 10 deletions

View file

@ -203,6 +203,10 @@ void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
auto healing = System::spawn_item(world, "REPAIR_KIT");
inventory.add("inv0", healing);
healing = System::spawn_item(world, "REPAIR_KIT");
inventory.add("inv1", healing);
world.make_constant(healing);
}