When things die you get their things.

This commit is contained in:
Zed A. Shaw 2025-06-23 01:50:43 -04:00
parent fb064ffbf1
commit 6a72d1160f
3 changed files with 6 additions and 2 deletions

View file

@ -234,6 +234,8 @@ namespace gui {
void DNDLoot::render() {
if($grab_source && $grab_sprite) {
$window.draw(*$grab_sprite);
} else {
dbc::log("nothing to render!");
}
}

View file

@ -370,8 +370,10 @@ namespace gui {
$status_ui.render($window);
$combat_ui.render($window);
// BUG: no matter how I order this the dnd sprite renders behind the loot ui
if($loot_ui.active) $loot_ui.render($window);
$dnd_loot.render();
if(in_state(State::LOOTING)) $dnd_loot.render();
if($map_open) {
$map_ui.render($window, $main_ui.$compass_dir);