Fixed the problem where the only way to complete a grab/drop operation was to capture the MOUSE_CLICK directly. Solution was to move the mouse processing out of DNDLoot and only handle the MOUSE_MOVE/DRAG.
This commit is contained in:
parent
6a72d1160f
commit
f559b5a39d
6 changed files with 32 additions and 43 deletions
|
@ -111,7 +111,6 @@ void System::init_positions(World &world, SpatialMap &collider) {
|
|||
collider.insert(pos.location, ent);
|
||||
}
|
||||
} else {
|
||||
fmt::println("System::init_positions for ent={}", ent);
|
||||
dbc::check(!inv.has(ent),
|
||||
fmt::format("!!! Entity {} is in player inventory and _also_ has a position in the world.", ent));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue