Had to fix the rendering so that each sprite is rendered separately in sprite_casting during the render phase.
This commit is contained in:
parent
d22eaa554d
commit
dfc86452fc
3 changed files with 9 additions and 10 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue