teeworlds/teeworlds — pull request #991 by scosu (2012-08-09 15:12:15+00:00)
Title: More accurate IntersectLine function

The previous implementation of this function has issues with high speed
entities, which may fly through solid tiles.

Instead of checking in intervals on the line, this function checks every
tile on the line by jumping between tile borders.

Signed-off-by: Markus Pargmann