Simple fix to make the story and boss fight scenes work.

This commit is contained in:
Zed A. Shaw 2026-02-28 10:46:51 -05:00
parent ff3a6c4a85
commit 46c6fce47e

View file

@ -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