Need a SpatialMap::get_all that returns all things at that spot because can't pickup potion after skull #81
Closed
opened 3 days ago by zedshaw
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
If there's a potion or other loot on the ground, and an enemy dies there, then you can't pick up the potion. Or, if an enemy is in front of you and you drop a potion at their feet then it stops all combat. This is because the SpatialMap::get() returns just one entity, the first one, so the others never get accessed unless each on e is removed.