{"push_id":923571446,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"ed0b5f8a9dbb3ba44b373648cf0a20ac653a70fe","before":"18cdf19ce4aac04e858fc8d42d2308806ea2ec9c","commits":[{"sha":"ed0b5f8a9dbb3ba44b373648cf0a20ac653a70fe","author":{"email":"822ec91a7ef82248fd36162ca8ac3283eba70848@s-z.org","name":"Neil Moore"},"message":"Don't badly aim rod of lightning/clouds southeast.\n\nIf the player aimed the shotgun or thunderbolt targetter past a grate or\nat themselves, the beam would mysteriously point southeast instead---it\nturns out, directly away from (0,0).  This happened because, when making\nthe fallback ray, we passed start and end coordinates to geom::ray's\nconstructor, which actually expected a start coordinate and a direction.\n\nAlso, don't allow self-aiming the shotgun targetter at all (return false\nearly), since we'd just get a crash as we tried to advance a ray with\ndirection (0, 0).","distinct":true,"url":"https://api.github.com/repos/crawl/crawl/commits/ed0b5f8a9dbb3ba44b373648cf0a20ac653a70fe"}]}