diff --git a/source/texk/web2c/luatexdir/tex/mlist.w b/source/texk/web2c/luatexdir/tex/mlist.w
index be0cf55..7684dd0 100644
--- a/source/texk/web2c/luatexdir/tex/mlist.w
+++ b/source/texk/web2c/luatexdir/tex/mlist.w
@@ -2128,20 +2128,12 @@ static void do_make_math_accent(pointer q, internal_font_number f, int c,
         if (sa == INT_MIN) {
             sa = half(width(y));        /* just take the center */
         }
-        if (math_direction == dir_TRT) {
-           shift_amount(y) = s + sa - width(y);
-        } else {
-           shift_amount(y) = s - sa;
-        }
+        shift_amount(y) = s - sa;
     } else {
         if (width(y)== 0) {
             shift_amount(y) = s + w;
         } else {
-            if (math_direction == dir_TRT) {
-                shift_amount(y) = s + width(y);
-            } else {
-                shift_amount(y) = s + half(w - width(y));
-            }
+            shift_amount(y) = s + half(w - width(y));
         }
     }
     width(y) = 0;
