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
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue