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

@ -127,10 +127,9 @@ namespace gui {
update();
}
bool LootUI::drop_item(DinkyECS::Entity item_id) {
bool dropped = System::drop_item($level, item_id);
if(dropped) update();
return dropped;
void LootUI::drop_item(DinkyECS::Entity item_id) {
System::drop_item($level, item_id);
update();
}
bool LootUI::mouse(float x, float y, bool hover) {