Ibn Sirin used to say: When swords are clashing, one should pray by gestures, facing whichever way one is facing.