Just a question for you, Ingar. If you set the spawnflags of BOTH X and Y, would it rotate diagonally or just mess up?
I have never tested it, I assume the behaviour is
undefined, meaning you could expect anything
from funky rotations to crashing the game.
For the sake of science, I did a quick test, set both spawnflags and the door seems to rotate around the X-axis only,
but
undefined also means this behaviour could break at any point.