Recalculate the character's lines of sight every time we step the game, rather than just every time the character *moves*. I had originally thought this was a non-contiguous lines-of-sight bug - which there's a test disproving - but it actually turned out to be that actions like eating or attacking would step the game forward (thus moving gormlaks) without re-calculating the positions visible to the character. |
||
|---|---|---|
| .. | ||
| EntityMap | ||
| EntityCharSpec.hs | ||
| EntityMapSpec.hs | ||