@Krastor, there is some workaround for the game limitation since IR's photon cannons can be aimed diagonally. I think Deadlock got that code from another mod, so it might not even be under the restrictive license. IIRC they also have adjustable firing arc, so you can aim wide on corners and narrow on straight walls.
Not that it's high priority enough to figure out how IR did it. I know you've put in a ton of work on this mod already.