Simple fix to make the story and boss fight scenes work.
This commit is contained in:
parent
ff3a6c4a85
commit
46c6fce47e
1 changed files with 2 additions and 0 deletions
|
|
@ -403,10 +403,12 @@ namespace gui {
|
||||||
$window.clear();
|
$window.clear();
|
||||||
|
|
||||||
if(in_state(State::BOSS_FIGHT)) {
|
if(in_state(State::BOSS_FIGHT)) {
|
||||||
|
$boss_fight->update();
|
||||||
$boss_fight->render($window);
|
$boss_fight->render($window);
|
||||||
// this clears any attack animations, like fire
|
// this clears any attack animations, like fire
|
||||||
System::clear_attack();
|
System::clear_attack();
|
||||||
} else if(in_state(State::CUT_SCENE_PLAYING)) {
|
} else if(in_state(State::CUT_SCENE_PLAYING)) {
|
||||||
|
$boss_scene->update();
|
||||||
$boss_scene->render($window);
|
$boss_scene->render($window);
|
||||||
} else {
|
} else {
|
||||||
// this clears any attack animations, like fire
|
// this clears any attack animations, like fire
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue