Just had to grab the sprite, duh. Closes #3.
This commit is contained in:
parent
1baf90a776
commit
af3568154a
2 changed files with 1 additions and 8 deletions
|
@ -136,12 +136,6 @@ namespace gui {
|
|||
void FSM::IDLE(Event ev, std::any data) {
|
||||
using enum Event;
|
||||
|
||||
auto& player_pos = System::player_position($level);
|
||||
|
||||
fmt::println("AIMING AT: {},{}; POS: {},{}",
|
||||
player_pos.aiming_at.x, player_pos.aiming_at.y,
|
||||
player_pos.location.x, player_pos.location.y);
|
||||
|
||||
sound::stop("walk");
|
||||
|
||||
switch(ev) {
|
||||
|
@ -387,8 +381,6 @@ 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);
|
||||
|
||||
if(in_state(State::LOOTING)) $dnd_loot.render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue