mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 11:15:23 +01:00
7ef4cf9aa1
ancestor() returns no tile for a level out of range, and centre_direction() and corner_direction() nothing for a tile that isn't valid, rather than shifting by a negative count or by 64 (S3949). Init-statements (S6004), an upper-case literal suffix (S818), references in the loops of the tests (S6032), no redundant parentheses (S1110), and the check of the neighbours of a plane tile in a helper of its own (S134). Behaviour unchanged for valid tiles; the geometry tests pass.