Remove commit_drop from status and loot UI since DropTarget already does that.
This commit is contained in:
parent
343f3a246f
commit
7a551cf83a
5 changed files with 6 additions and 20 deletions
|
@ -104,12 +104,6 @@ namespace gui {
|
|||
$selected_entity = world_entity;
|
||||
}
|
||||
|
||||
bool StatusUI::commit_drop(DinkyECS::Entity gui_id) {
|
||||
// BUG: just roll this into DropTarget
|
||||
auto& drop = get_drop_target(gui_id);
|
||||
return drop.commit();
|
||||
}
|
||||
|
||||
guecs::GrabSource& StatusUI::get_grab_source(DinkyECS::Entity gui_id) {
|
||||
dbc::check($gui.has<guecs::Sprite>(gui_id), "invalid GrabSource requested, entity isn't in the GUI.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue