From 18f2ccf1d4395ab37ec3199515f3b00e82f629e1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 7 Nov 2021 09:59:44 +0100 Subject: [PATCH] rulegen:: fix_distances on tmove --- rulegen.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rulegen.cpp b/rulegen.cpp index 5c4a18e8..eadab608 100644 --- a/rulegen.cpp +++ b/rulegen.cpp @@ -271,6 +271,9 @@ tcell* tmove(tcell *c, int d) { if(flags & w_known_structure) swap_treestates(); + if(!(flags & w_known_distances)) + fix_distances(c); + ensure_shorter(c1); if(flags & w_numerical_fix) {