Arena is working with the new animate2 but boss/fight.cpp needs a complete overhaul.
This commit is contained in:
parent
ba91929bfd
commit
f8a8033890
2 changed files with 1 additions and 5 deletions
|
|
@ -122,10 +122,10 @@ namespace scene {
|
|||
|
||||
void Engine::animate_actor(const std::string& actor, const std::string& form) {
|
||||
auto& config = actor_config(actor);
|
||||
config.anim.set_form(form);
|
||||
|
||||
if(!config.anim.playing) {
|
||||
config.anim.play();
|
||||
config.anim.set_form(form);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue