Fix a bug in palette that kept it from being idempotent.
This commit is contained in:
parent
986b2612d4
commit
37b007d79c
5 changed files with 21 additions and 10 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include "animation.hpp"
|
||||
#include "components.hpp"
|
||||
#include "ai.hpp"
|
||||
#include "palette.hpp"
|
||||
|
||||
using namespace combat;
|
||||
using namespace boss;
|
||||
|
|
@ -100,6 +101,7 @@ TEST_CASE("boss/systems.cpp works", "[combat-battle]") {
|
|||
components::init();
|
||||
sfml::Backend backend;
|
||||
guecs::init(&backend);
|
||||
|
||||
ai::reset();
|
||||
ai::init("ai");
|
||||
animation::init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue