Figured out the crash, but want to see what valgrind would say.

This commit is contained in:
Zed A. Shaw 2026-02-12 12:59:35 -05:00
parent aaf5aa4165
commit 0e8b661273
7 changed files with 30 additions and 15 deletions

View file

@ -50,13 +50,14 @@ int main(int, char*[]) {
dbc::check(main->$world == world, "GameDB::current_world doesn't match boss fight world.");
while(!main->in_state(boss::State::END)) {
main->$ui.$arena.tick();
main->render(window);
if(main->handle_keyboard_mouse() ||
main->handle_world_events())
{
return 0;
}
main->render(window);
window.display();
}