Now floor drops always work by having a drop against a wall just drop at your feet. Closes #77.
This commit is contained in:
parent
1788b8fb28
commit
694ee210d6
8 changed files with 30 additions and 38 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue