From d951a84cc63ac88fe094aaf29e57cfe2144f64c1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 17 May 2021 14:23:20 +0200 Subject: [PATCH] movei::dir_force function --- locations.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/locations.cpp b/locations.cpp index 7b1aaf8f..87b3c456 100644 --- a/locations.cpp +++ b/locations.cpp @@ -489,6 +489,7 @@ struct movei { int rev_dir_or(int x) const { return proper() ? s->c.spin(d) : x; } int rev_dir_mirror() const { return proper() ? s->c.spin(d) : d; } int rev_dir_force() const { hassert(proper()); return s->c.spin(d); } + int dir_force() const { hassert(proper()); return d; } bool mirror() { return s->c.mirror(d); } }; #endif