9ec51e5123
The test for "one step in each cardinal direction is always visible" was giving a false-negative for an entity at the same position as a wall - not only is this something that would ostensibly never happen, it's also completely reasonable to assume that someone stuck in a wall (due to a bad teleport perhaps?) wouldn't be able to see anything, on account of their head being INSIDE A WALL. |
||
---|---|---|
.. | ||
Data | ||
Entities | ||
Generators | ||
Util | ||
DataSpec.hs | ||
GameSpec.hs | ||
MessageSpec.hs | ||
OrphansSpec.hs | ||
UtilSpec.hs |