angband/angband — pull request #234 by elly (2013-04-28 00:12:56+00:00)
Title: cave.c: fix vinfo knight's move crash

This crash was caused by me forgetting that dx/dy were the targeted spot minus
the player's position, not vice versa, and hence adding sx/sy when I should've
subtracted. While adding asserts to trap this error, I found a slew of other
out-of-bounds reads and writes in update_view(), so those are also now fixed.

Signed-off-by: Elly Fong-Jones