While the laser beam can be pointed at the middle of the laser emitter
element, and also can slightly touch it at its very edges, it should
not be possible to cut through it nearer to the middle, but without
really hitting the middle of the laser emitter.
// this is more precise: check if laser would go through the center
if ((ELX * TILEX + 14 - LX) * YS != (ELY * TILEY + 14 - LY) * XS)
{
+ // prevent cutting through laser emitter with laser beam
+ if (IS_LASER(element))
+ return TRUE;
+
// skip the whole element before continuing the scan
do
{