Now floor drops always work by having a drop against a wall just drop at your feet. Closes #77.

This commit is contained in:
Zed A. Shaw 2025-08-02 23:26:42 -04:00
parent 1788b8fb28
commit 694ee210d6
8 changed files with 30 additions and 38 deletions

View file

@ -114,10 +114,9 @@ namespace gui {
}
}
bool StatusUI::drop_item(DinkyECS::Entity item_id) {
bool dropped = System::drop_item($level, item_id);
if(dropped) update();
return dropped;
void StatusUI::drop_item(DinkyECS::Entity item_id) {
System::drop_item($level, item_id);
update();
}
// NOTE: do I need this or how does it relate to drop_item?