]> git.pond.sub.org Git - empserver/commit
(line_of_sight): Normalize coordinates before indexing. Closes
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 May 2004 15:54:00 +0000 (15:54 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 May 2004 15:54:00 +0000 (15:54 +0000)
commitc6678f3899b34530e79b039aee623bb6b19abed9
tree97e98745b8bf45b2286d5cac664fc4b5271b0c19
parente4d1c38c967f7ce6cc0b367c9890ce3aa8490f04
(line_of_sight): Normalize coordinates before indexing.  Closes
#950514.

(line_of_sight): There's just one straight line between two points on
a plane, but on a torus there are four.  Code assumed plane, and thus
could screw up near the origin.  Pick a shortest line of the four.
Partial fix for #950510.
src/lib/commands/sona.c